Encoding & Number Bases
Encode and decode text between Base64, Base32, Base58, hex, binary, octal, ASCII, HTML entities, Morse code, and Punycode — or encipher it with classical ciphers like Caesar, Vigenère, Atbash, rail fence, Bacon, and affine. Inspect UTF-8 byte sequences and compress strings with gzip — all locally.
Most popular
- encodingBase64 File● ready
Drop a file to encode it as a Base64 data URI (for inline HTML/CSS), or paste a Base64 string to decode and download the original file.
- encodingHex to Text● ready
Paste text to see its hex representation, or paste hex to decode it back to text. Supports space-separated and continuous hex formats.
- encodingBase Converter● ready
Enter a number in any base (2, 8, 10, 16) and see it instantly converted to all other bases with step-by-step breakdown.
- encodingMorse Code● ready
Type text and hear/see it in Morse code (dots and dashes). Paste Morse code to decode it back. Includes playback at adjustable speed.
- encodingHTML Entities● ready
Paste HTML or text and encode reserved characters to HTML entities. Supports named and numeric entities.
Base64
- encodingBase64 File● ready
Drop a file to encode it as a Base64 data URI (for inline HTML/CSS), or paste a Base64 string to decode and download the original file.
- encodingURL-Safe B64● ready
Standard Base64 uses +, /, and = which are not URL-safe. This converter swaps them for -, _, and strips padding for URL-friendly strings.
Number Bases
- encodingBase Converter● ready
Enter a number in any base (2, 8, 10, 16) and see it instantly converted to all other bases with step-by-step breakdown.
- encodingHex to Text● ready
Paste text to see its hex representation, or paste hex to decode it back to text. Supports space-separated and continuous hex formats.
- encodingBinary to Text● ready
Convert any text to its binary representation (8 bits per character, space-separated), and decode binary strings back to readable text.
- encodingASCII to Unicode● ready
Enter any character or text and see its Unicode code point(s) and decimal/hex values. Supports emoji, CJK, and extended Unicode.
Text Encoding
- encodingHTML Entities● ready
Paste HTML or text and encode reserved characters to HTML entities. Supports named and numeric entities.
- encodingQuoted-Print● ready
Encode text with non-ASCII characters into Quoted-Printable format for email, or decode Quoted-Printable back to readable text.
- encodingPunycode● ready
Enter a Unicode domain name and get its Punycode form, or decode Punycode back to Unicode.
Specialized
- encodingMorse Code● ready
Type text and hear/see it in Morse code (dots and dashes). Paste Morse code to decode it back. Includes playback at adjustable speed.
- encodingUTF-8 Viz● ready
Enter text and see exactly how it is encoded in UTF-8, byte by byte, with continuation byte flags, code point values, and bit-level detail.
- encodingGzip String● ready
Paste text and compress it with gzip to see the size reduction. Decompress gzipped content back to text.
Classical Ciphers
- encodingCaesar Cipher● ready
Shift every letter by a fixed amount (ROT-N) — the classic substitution cipher. Includes a brute-force mode that tries all 25 shifts at once.
- encodingVigenère● ready
Each letter is shifted by a repeating keyword instead of a fixed amount — far stronger than a Caesar shift, and still fully solvable by hand.
- encodingAtbash● ready
A↔Z, B↔Y, C↔X: the ancient Hebrew cipher that mirrors the alphabet. Encoding and decoding are the same operation.
- encodingRail Fence● ready
Write the text in a zigzag across a number of rails, then read it off row by row — a classic transposition cipher that scrambles letter order.
- encodingBacon● ready
Francis Bacon's biliteral cipher hides each letter as a group of five As and Bs — the original steganographic encoding.
- encodingAffine● ready
A general substitution cipher parameterized by two keys: multiplication by a (coprime to 26) plus an offset b.
Binary Encodings
- encodingBase32● ready
Convert between text and Base32 (A–Z, 2–7) with optional = padding — case-insensitive decoding, safe for handwritten and spoken transmission.
- encodingBase58● ready
Convert between text and Base58 — the encoding used for Bitcoin addresses, with 0, O, I, and l removed to avoid visual confusion.
All tools
- encodingBase64 File● ready
Drop a file to encode it as a Base64 data URI (for inline HTML/CSS), or paste a Base64 string to decode and download the original file.
- encodingHex to Text● ready
Paste text to see its hex representation, or paste hex to decode it back to text. Supports space-separated and continuous hex formats.
- encodingBase Converter● ready
Enter a number in any base (2, 8, 10, 16) and see it instantly converted to all other bases with step-by-step breakdown.
- encodingASCII to Unicode● ready
Enter any character or text and see its Unicode code point(s) and decimal/hex values. Supports emoji, CJK, and extended Unicode.
- encodingHTML Entities● ready
Paste HTML or text and encode reserved characters to HTML entities. Supports named and numeric entities.
- encodingURL-Safe B64● ready
Standard Base64 uses +, /, and = which are not URL-safe. This converter swaps them for -, _, and strips padding for URL-friendly strings.
- encodingMorse Code● ready
Type text and hear/see it in Morse code (dots and dashes). Paste Morse code to decode it back. Includes playback at adjustable speed.
- encodingPunycode● ready
Enter a Unicode domain name and get its Punycode form, or decode Punycode back to Unicode.
- encodingQuoted-Print● ready
Encode text with non-ASCII characters into Quoted-Printable format for email, or decode Quoted-Printable back to readable text.
- encodingUTF-8 Viz● ready
Enter text and see exactly how it is encoded in UTF-8, byte by byte, with continuation byte flags, code point values, and bit-level detail.
- encodingGzip String● ready
Paste text and compress it with gzip to see the size reduction. Decompress gzipped content back to text.
- encodingBinary to Text● ready
Convert any text to its binary representation (8 bits per character, space-separated), and decode binary strings back to readable text.
- encodingCaesar Cipher● ready
Shift every letter by a fixed amount (ROT-N) — the classic substitution cipher. Includes a brute-force mode that tries all 25 shifts at once.
- encodingVigenère● ready
Each letter is shifted by a repeating keyword instead of a fixed amount — far stronger than a Caesar shift, and still fully solvable by hand.
- encodingAtbash● ready
A↔Z, B↔Y, C↔X: the ancient Hebrew cipher that mirrors the alphabet. Encoding and decoding are the same operation.
- encodingRail Fence● ready
Write the text in a zigzag across a number of rails, then read it off row by row — a classic transposition cipher that scrambles letter order.
- encodingBacon● ready
Francis Bacon's biliteral cipher hides each letter as a group of five As and Bs — the original steganographic encoding.
- encodingAffine● ready
A general substitution cipher parameterized by two keys: multiplication by a (coprime to 26) plus an offset b.
- encodingBase32● ready
Convert between text and Base32 (A–Z, 2–7) with optional = padding — case-insensitive decoding, safe for handwritten and spoken transmission.
- encodingBase58● ready
Convert between text and Base58 — the encoding used for Bitcoin addresses, with 0, O, I, and l removed to avoid visual confusion.
About Encoding & Number Bases
Encoding tools help you translate between text representations. Convert Base64, Base32, and Base58, translate Morse code, handle Punycode international domain names, encode HTML entities, inspect raw UTF-8 byte sequences, and solve classical ciphers — everything runs in the browser.
Related categories
Frequently asked questions
Is Base64 encryption?
No. Base64 is encoding, not encryption. It transforms binary data into ASCII text for safe transport, but anyone can decode it back.
What is Punycode?
Punycode encodes Unicode domain names into ASCII for DNS compatibility. For example, münchen.de becomes xn--mnchen-3ya.de.
Are the classical ciphers secure?
No. Caesar, Vigenère, Atbash, rail fence, Bacon, and affine ciphers are historical curiosities and teaching tools — every one of them can be broken in seconds with modern computing. Use real encryption (AES, ChaCha20) for anything confidential.