Base64 Encode / Decode
Encode or decode text with multiple encoding and output format options.
Input
Output
About Base64
Base64 encodes binary data as ASCII text using 64 printable characters. UTF-8 is the standard for Unicode text. Latin-1 handles single-byte legacy encodings. Hex lets you encode raw byte sequences. Binary converts 0/1 strings to bytes. UTF-16 is used in Windows and .NET environments. MIME format wraps lines at 76 characters as per RFC 2045.
Other Tools
Encode or decode URLs with different modes for different situations.
Encode or decode HTML special characters using named, decimal, or hex formats.
Convert any image file to a Base64 data URI for embedding in HTML or CSS.
Generate cryptographic hashes from any text. Optional HMAC secret.
Decode and inspect JWT tokens without a secret key. Header, payload, and expiry at a glance.
Format, validate, minify, and sort your JSON with statistics.
Format, validate, and minify XML with real-time error highlighting.
Write Markdown and see a live rendered preview side by side.