Text Tools

BASE64 Encoder / Decoder

Automatically convert text and images to and from BASE64. Type text, drop an image, or paste BASE64 to see the result.

Edit either field to convert automatically.

Your input is processed only in this browser and is not sent to the server.

How to use

Type text to encode it. Drop an image onto the left field or use Select image to encode it and show a preview. Paste BASE64 to display decoded text or an image automatically. Copy on the left copies text, or the previewed image as PNG. Clear returns to the empty text field.

What is Base64?

Base64 represents data, such as images, as a string of letters, numbers, and a few symbols. It is used for email attachments, embedding images in HTML or CSS, and exchanging data through APIs. It is not encryption: decoding restores the original data.

Frequently asked questions

Can I convert Japanese and emoji?

Yes. Text is encoded and decoded using UTF-8, including Japanese, emoji, spaces, and line breaks.

Which BASE64 formats can I decode?

Standard BASE64, URL-safe BASE64 (- and _), and BASE64 data URLs are accepted. Spaces, tabs, and line breaks are ignored, and omitted padding (=) is supported. Text output uses standard BASE64; image output includes its data URL prefix.

Which images are supported?

PNG, JPEG, GIF, WebP, BMP, ICO, AVIF, and SVG can be previewed when your browser supports them. Image data is detected from its contents. BASE64 encoding preserves the original file. Image copying creates a PNG of the displayed image; animated images are copied as a still image.

Is BASE64 encryption?

BASE64 is a reversible encoding, not encryption. Anyone can decode it. All text and image processing happens in your browser.