Início
Tom Utilities

Conversor de imagem para Base64

Codificação e decodificação

Converta imagens PNG, JPEG, GIF, WebP ou SVG em URL de dados Base64 para HTML ou CSS.

Como usar

Embedding images as data URLs

Choose an image and the tool produces a data URL. Paste it into an img src attribute, a CSS background or a JSON payload.

  1. Select an image file.
  2. Wait for the preview and data URL.
  3. Copy the data URL.

Perguntas frequentes

Is my image uploaded?

No, the conversion happens locally in your browser using the FileReader API.

What is the size limit?

There is no hard limit, but large images produce very long strings and should be optimised first.