Questions and answers

Is my image uploaded anywhere?

No. The file is read by this browser tab and written out as text there. It never reaches Wayfind.

What is a data URL?

A data URL carries a file inside the URL itself, as `data:image/png;base64,` followed by the file written in Base64. Anywhere a browser takes a URL — an `src`, a CSS `url()` — it takes one of these instead, and makes no request for it.

Why is the text larger than the image?

Base64 writes three bytes with four characters, so the text is about a third larger than the file, before the prefix and the snippet around it. The page measures it for the image you chose rather than quoting the figure.

When is inlining an image a good idea?

For something small that the page needs immediately: an icon, a logo, a one-pixel gradient, an image in an email where no file can be attached. Past about 100 kB it costs more than it saves, because a data URL cannot be cached on its own, cannot be loaded late, and holds up the file it sits in until it has been read.

Does it keep the metadata in my photograph?

Yes. The file is written out byte for byte, so the camera, the date and any location it recorded travel with it. To leave those behind, run the image through the Image Converter first: that one redraws the picture, and only the pixels survive.

What should I put in the description?

What the image means to someone who cannot see it — "the quarterly sales chart", not "chart.png". Leave it empty only when the image is decorative and a screen reader should pass over it, which is what an empty `alt` says.

  • Base64 to Image Turn Base64 or a data URL back into an image, and save it, in your browser.
  • Image Converter Convert an image to PNG, JPEG or WebP in your browser, without uploading it.
  • Base64 Encoder Encode text to Base64, with the standard or URL-safe alphabet and optional MIME line breaks.
  • Image Resizer Resize a PNG, JPEG, WebP, GIF or BMP in your browser, with the proportions kept.

More Image tools