Semua alatKategoriTentangKontakPrivasi
Alat Gambar

Image to Base64 Converter

A data URI embeds an image directly in HTML or CSS, which avoids one request but makes the file larger and uncacheable. This converter produces the exact string and shows the CSS and HTML snippets, all locally. The second panel goes the other way: paste a data URI to preview and save the image.

Diperbarui · Gratis · Tanpa pendaftaran · Berjalan di perangkat Anda

Memuat alat…

Cara menggunakan

  1. Choose an image to get its data URI.
  2. Copy the URI, or the ready-made CSS and HTML snippets.
  3. Paste a data URI in the second panel to preview and save it as an image.

Untuk siapa

Developers embedding a small icon in CSS, email builders inlining a logo, and anyone decoding a data URI from a stylesheet.

Contoh penggunaan

A 2 KB icon becomes a data URI that can sit directly in a background-image rule.

Batasan

Base64 is about 33% larger than the binary file and cannot be cached separately, so it suits small icons, not photos. The input is limited to 10 MB.

Privasi

Files you open are read by your browser and processed on this device. They are not uploaded to QuickTools or to any third party. Closing the tab discards them.

Pertanyaan umum

When should I use a data URI?

For small, rarely changed assets such as icons or a logo in an email. Use a normal file for anything large.

Info singkat

Kategori
Alat Gambar
Berjalan di
Ponsel, tablet, dan desktop
Akun
Tidak diperlukan
Harga
Gratis
Data
Tetap di perangkat Anda
Diperbarui