Skip to content

Free tools › Images

HTML to image

An email template, a report or a snippet, as the picture the browser draws.

More free conversions, where you upload. The Fylane extension does the same work inside any upload form, on its own free share every day.Add to Chrome

How to convert HTML to image

  1. Drop the HTML file.
  2. Pick the width and sharpness.
  3. Press Convert and download the PNG.

What happens to your file

The file is served to a headless Chromium from Fylane’s own loopback, so nothing on disk is reachable from it; styles and pictures it links to on the web are fetched through the URL policy, public addresses only. First screen captures 800 pixels; Whole page, the lot.

Questions

Inline styles and web fonts?

Yes — it is a real browser. Fonts fetched from a public host load; fonts on a private host do not.

Do it once, not on every form

A form that wants a square JPEG under 240 KB says so on the page. The Fylane extension reads that, fits your photo to it, and puts it in the field — without you working out what 240 KB looks like.

And it keeps the result. The next application that asks for a résumé, a cover letter and a photo fills all three from one tap, each one refitted to what that site accepts.

Your files stay in the browser, encrypted, on your machine. Nothing is uploaded to keep them and nothing is sent anywhere to fill a form.

Filmed from the extension: a phone portrait against a form that takes only a square JPEG under 240 KB.

Add to Chrome — freeWhat it does

Do this in code

curl -X POST https://api.fylane.dev/v1/jobs \
  -H "Authorization: Bearer $FYLANE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "file_id": "<file id>",
    "operation": "web.render",
    "options": {
      "format": "png",
      "height": 800,
      "width": 1280,
      "full_page": "first",
      "scale": 1
    }
  }'

The same operation, web.render — An HTML file or a public URL rendered by Chromium — real CSS, web fonts, scripts — to a PDF (`format: pdf`) or a first-screen screenshot (`format: png`, `width`, `height`, `scale`). Every request the page makes passes the platform’s URL policy: private networks and the metadata service are unreachable. Upload first with the quickstart; every option is on the operations page. 500 free credits a month, then $5 per thousand.