Base64 Encoder & Decoder (Text & Files)

Encode text and files to Base64 format or decode Base64 strings back to readable UTF-8 text and downloadable files. Supports Data URIs for images and CSS.

Base64 Encoder & Decoder

Convert UTF-8 text and files to Base64 or decode Base64 back into plaintext and files instantly

How to Convert Text/File to Base64/File

1

Select Mode

Choose whether you are encoding/decoding text or a file.

2

Input Content

Type text, paste Base64, or upload your asset.

3

Copy or Download

Copy Base64 string or download the reconstructed file.

Key Features

✓

Encode strings and UTF-8 characters into Base64 format

✓

Decode Base64 hashes into human-readable plaintext

✓

Convert images and icons into Data URIs for direct CSS/HTML embedding

✓

Decode Base64 back into original downloadable files

✓

One-click copy and instant swap between input and output

✓

Client-side processing guarantees developer data privacy

Common Use Cases

Embedding small PNG icons directly inside CSS stylesheets
Debugging API authorization headers (Basic Auth)
Converting email attachments for MIME transport

Frequently Asked Questions

It allows binary data (like images or encrypted keys) to be transmitted safely over text protocols like JSON, email, and HTML.

Yes, full UTF-8 encoding ensures accents, foreign characters, and emojis are preserved.

All transformations execute locally in your browser memory.

Related Tools