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.
Convert text to hex representation and back, with configurable separator and case.
Encode or decode URL components with configurable encoding modes.
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.
Generate and verify time-based one-time passwords using a base32 secret key.