🖼️

Бясплатна Image to Base64

Convert an image to a Base64 data URI for inline use in CSS, HTML, or Markdown. Copy ready-made snippets. Encoded in your browser; never uploaded.

Без абмежавання памеру файлаФайлы застаюцца прыватныміУваход не патрабуеццаВольны назаўжды

Перацягніце файлы сюды або націсніце для прагляду

PNG, JPG, WebP, GIF, SVG, AVIF, X, Image без абмежавання памеру файла

Прагляд файлаў

Вашы файлы ніколі не пакідаюць вашу прыладу. Уся апрацоўка адбываецца лакальна ў вашым браўзеры.

Convert an image to a Base64 data URI you can paste directly into CSS, HTML, or Markdown — no separate file needed. Encoded in your browser; never uploaded.

Optimize for your platform

Як гэта працуе

A data URI embeds an image directly into your code as text, so it loads without a separate file request — handy for small icons and self-contained HTML. This encodes it in your browser.

  1. 1
    You drop in an image
    It's read locally with the FileReader API — never uploaded.
  2. 2
    It's Base64-encoded
    The image bytes become a data: URI (data:image/...;base64,…) right in your browser.
  3. 3
    You pick a snippet
    Copy the raw data URI, or ready-made CSS (background-image), HTML (<img>), or Markdown.
  4. 4
    Paste it into your code
    The image now travels inline with your CSS/HTML — no extra file to host.

The image is encoded entirely on your device. Note that Base64 is ~33% larger than the original, so data URIs are best for small images.

Навошта карыстацца нашым?

Completely free — no hidden costs, ever
No account, email, or login required
Files stay on your device — processing happens in your browser
Works on any device — phone, tablet, desktop
No watermarks on any output
Browser memory limits may apply for very large files

Звязаныя інструменты

Ці быў гэты інструмент карысным?

Часта задаюць пытанні