Base64 Encoder & Decoder

Encode text, JSON, files, or hex data into Base64 and check the decoded result instantly.

Supports text, JSON, URLs, hex bytes, and file uploads. URL-safe and data URL variants are generated automatically.
Source data
Pick a source type, paste or upload data, then encode it safely.

Data type

Switch modes to normalize each format before encoding.

Ready to encode
Outputs
Copy the Base64 string, URL-safe variant, or data URL.

URL-safe (no padding)

Data URL

UTF-8 preview
Decoded as readable text.
JSON preview
We will parse decoded text as JSON when possible.

Hex preview (0 B)

Widget Polymer