Base64 to Image Converter - Decode Data URIs and Save the File
Paste a Base64 string or a data:image URI and get the image back. The real format is read from the decoded bytes, so the download always has the right extension. Decoding runs in your browser.
Paste a string above to decode it. Line breaks, indentation and surrounding quotes are handled for you.
What Base64 to Image Does
This tool takes the text form of an image and gives you the file back. Base64 is a transport encoding: it rewrites arbitrary bytes using only the 64 characters A-Z, a-z, 0-9, plus and slash, so that binary data can travel through places that only accept text. Wrapped in a data URI — the `data:image/png;base64,` prefix followed by the payload — it can sit directly inside an HTML attribute, a CSS url(), a JSON field or an email body. Decoding reverses that mapping exactly, so the bytes you get back are the bytes that went in, down to the EXIF block and the colour profile. Before anything is shown, the tool cleans the input: it finds the payload even when it is buried inside a full `img src="…"` tag or a `background-image: url(…)` declaration, drops the line breaks and indentation that a code formatter added, and strips wrapping quotes. It then identifies the format from the first bytes of the decoded data — the PNG signature 89 50 4E 47, the JPEG marker FF D8 FF, the GIF87a/GIF89a header, the RIFF/WEBP container, the ftyp box of AVIF, or an opening `svg` tag. The MIME type written in the prefix is only a claim: it is ordinary text that a generator can get wrong and anyone can edit, so it is displayed for reference but never used to name the download. Everything happens in the page, on your device; the string is not sent anywhere.
Why You'd Decode Base64 Back to an Image
Inlined images are convenient to ship and awkward to work with. Decoding turns the text back into a file you can open, edit, or attach.
How to Convert Base64 to an Image
Paste and look — decoding is immediate and happens entirely in the browser.
Paste the string: a full data:image/…;base64, URI, a whole CSS url() declaration or img tag, or bare Base64 with no prefix at all
Line breaks, indentation and surrounding quotes are stripped automatically, so copying straight out of formatted source is fine
Check the preview along with the detected format, pixel dimensions and decoded file size
Download the image — the extension comes from the actual bytes, so a mislabelled prefix cannot hand you a broken file
Frequently Asked Questions
Другие инструменты для изображений
Откройте другие мощные инструменты для редактирования изображений
Сжать Изображение
Уменьшить размер
Изменить Размер
Изменить размеры
Обрезать Изображение
Вырезать область
Конвертировать Формат
Изменить формат
Фоторедактор
Редактировать фото
Повернуть Изображение
Повернуть
Отразить Изображение
По горизонтали/вертикали
Добавить Водяной Знак
Водяной знак
Добавить Рамку
Добавить рамку изображения
Закругленные Углы
Добавить закругленные углы
Фильтры
Яркость/Контраст
Размыть Лицо
Скрыть лица
Мозаика
Размыть области
Удалить Фон
Удалить фон
Улучшить Изображение
ИИ апскейл
Добавить Текст
Добавить текст на изображение
Коллаж
Объединить несколько изображений
HTML в Изображение
Веб в изображение
GIF в Последовательность
Извлечь кадры
Удалить пустые поля
Удалить пустые края
Пакетное переименование изображений
Безопасное массовое переименование файлов
Круговая обрезка
Обрезка изображений в круг
Чёрно-белое
Конвертация изображений в оттенки серого
Разделить изображение
Разрезать изображение на сетку
Объединить изображения
Объединить изображения в одно
Изменить DPI
Установить метаданные DPI изображения
Изображение в Base64
Кодирование изображений в Base64
Изображения в PDF
Объедините изображения в один PDF
Конвертер HEIC в JPG
Конвертируйте фото iPhone из HEIC в JPG
Удаление EXIF
Просмотр и удаление скрытых метаданных фото, включая геолокацию GPS
Генератор фавиконок
Полный набор иконок и HTML-код
Цветовая палитра
Извлечь цвета из изображения
HEIC to PNG
Convert iPhone HEIC photos to lossless PNG
Text Behind Image
Put text behind the subject of a photo, entirely in your browser
Color Picker
Get the HEX, RGB and HSL of any pixel
Signature Maker
Draw a signature and download it as a transparent PNG
Signature Background Remover
Ink from paper, on transparency
Transparent Background Maker
Make a background transparent