Все инструментыКатегорииО сайтеКонтактыКонфиденциальность
Инструменты для изображений

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.

Обновлено · Бесплатно · Без регистрации · Работает на вашем устройстве

Загрузка инструмента…

Как пользоваться

  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.

Кому пригодится

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

Пример

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

Ограничения

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.

Конфиденциальность

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.

Частые вопросы

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.

Краткие сведения

Категория
Инструменты для изображений
Работает на
Телефон, планшет и компьютер
Аккаунт
Не требуется
Цена
Бесплатно
Данные
Остаются на вашем устройстве
Обновлено