Base64 Encoder / Decoder

Convert anything to Base64 and back. Encode text with full Unicode support, turn a file into a Base64 string, or generate a data URI for an image and preview it instantly.

Settings

Mode
Operation

Input

Output

All processing is done locally in your browser. Your images never leave your device.

How to use

  1. 1

    Choose text, file or image mode.

  2. 2

    Select encode or decode.

  3. 3

    Paste your text or choose a file.

  4. 4

    Copy the Base64 output or download the decoded file.

Supported formats

Accepts

Produces

FAQ

No. It is an encoding, not encryption — anyone can decode it. Never use it to protect secrets.

It represents three bytes with four characters, so the encoded result is about 33% larger than the original.

Yes. Arabic, emoji and any other Unicode text encode and decode correctly.

A string that embeds a file directly in HTML or CSS, in the form data:image/png;base64,… — the image mode generates one for you.

25 MB, which keeps the encoded string manageable inside the browser.

About this tool: Base64 Encoder / Decoder

Base64 for text and images alike

The Base64 Encoder/Decoder converts text to and from Base64, and handles binary payloads too: drop an image and get a data URI ready for embedding in HTML or CSS, or paste a Base64 data URI and recover the original file for download.

Base64 is the universal bridge between binary data and text-only channels — e-mail attachments, JSON payloads, data URIs, JWT segments. Encoding text is instant; the image round-trip is where the tool saves real time, letting you inline small icons directly into stylesheets without build tooling.

Conversion happens locally in your browser — sensitive tokens and credentials are base64, not encryption, and this tool lets you inspect and decode them without uploading them anywhere. Remember: Base64 encodes, it does not protect.

Like every Piclizer tool, this one runs entirely in your browser — your files stay on your device.

Related tools