Skip to content

Encoding & Conversion

Base64, URL, HTML, Unicode and more encoders.

Encoding & Conversion moves the same content between representations: Base64 for binary carried as text, hexadecimal for reading raw bytes, percent-encoding for URLs, HTML entities for markup, and escape sequences for JSON and Unicode. The category covers Base64 and Base64URL in both directions, Base32 and Base58, and the binary, octal, decimal and hex converters that go with them. A second group is historical — Morse code, Caesar, ROT13 and Rail Fence, plus the NATO phonetic alphabet. Everything converts locally, so a session token or a private key pasted here does not leave the browser.

ASCII to Text

Convert decimal ASCII codes to text.

Base32 Encode

Encode text to Base32 (RFC 4648).

Base58 Encode

Encode text to Base58 (Bitcoin alphabet).

Base64 Decode

Decode Base64 back to text.

Base64 Encode

Encode text to Base64 (UTF-8 safe).

Base64URL Decode

Decode URL-safe Base64 back to text.

Base64URL Encode

URL-safe Base64 encoding without padding.

Binary to Decimal

Convert binary numbers to decimal.

Binary to Hex

Convert binary numbers to hexadecimal.

Binary to Text

Convert 8-bit binary back to text.

Caesar Cipher

Shift letters by a fixed amount (Caesar cipher).

Decimal to Binary

Convert decimal numbers to binary.

Decimal to Hex

Convert decimal to hexadecimal.

Gray Code to Binary

Convert Gray code to binary.

Hex to Decimal

Convert hexadecimal to decimal.

Hex to Text

Convert hexadecimal bytes back to text.

HTML Decode

Convert HTML entities back to characters.

HTML Encode

Escape special HTML characters to entities.

JSON Escape

Escape a string for use inside JSON.

Morse Code Decoder

Convert Morse code back to text.

Morse Code Encoder

Convert text to Morse code.

NATO Phonetic Alphabet

Spell text using the NATO alphabet.

Rail Fence Cipher

Encrypt/decrypt text with the rail fence cipher.

ROT13 Cipher

Apply the classic ROT13 letter cipher.

Text to ASCII

Convert characters to decimal ASCII codes.

Text to Binary

Convert text to 8-bit binary.

Text to Hex

Convert text to hexadecimal bytes.

Text to Octal

Convert text to octal bytes.

Unicode Escape

Convert non-ASCII chars to \uXXXX escapes.

Unicode Unescape

Convert \uXXXX escapes back to characters.

URL Decode

Decode a percent-encoded string.

URL Encode

Percent-encode a string for URLs.

A1Z26 Decode

Decode A1Z26 numbers back to letters.

A1Z26 Encode

Encode letters to numbers (A=1 ... Z=26).

Ascii85 Decode

Decode Ascii85 back to text.

Ascii85 Encode

Encode text to Ascii85 (Base85).

Atbash Cipher

Reverse the alphabet (Atbash cipher).

Bacon Cipher Decode

Decode Bacon's cipher back to text.

Bacon Cipher Encode

Encode text to Bacon's cipher (A/B).

Base32 Decode

Decode Base32 back to text.

Base36 Decode

Decode Base36 back to text.

Base36 Encode

Encode text to Base36.

Base58 Decode

Decode Base58 back to text.

Binary to Gray Code

Convert binary to Gray code.

Binary to Octal

Convert binary numbers to octal.

Decimal to BCD

Convert decimal to binary-coded decimal.

Decimal to Octal

Convert decimal to octal.

Float to Hex

Convert a float to its IEEE 754 hex.

Hex to Binary

Convert hexadecimal to binary.

Hex to Float

Convert IEEE 754 hex to a float.

Hex to Octal

Convert hexadecimal to octal.

JSON Unescape

Unescape a JSON string.

Netstring Decode

Decode a netstring back to text.

Netstring Encode

Encode text as a netstring.

Octal to Binary

Convert octal numbers to binary.

Octal to Decimal

Convert octal to decimal.

Octal to Hex

Convert octal to hexadecimal.

Octal to Text

Convert octal bytes back to text.

Quoted-Printable Decode

Decode Quoted-Printable text back.

Quoted-Printable Encode

Encode text to Quoted-Printable (MIME).

ROT18 Cipher

Combine ROT13 + ROT5 (letters and digits).

ROT47 Cipher

Apply ROT47 cipher on printable ASCII.

ROT5 Cipher

Shift digits by 5 (ROT5).

ROT8000

Apply the ROT8000 cipher.

Tap Code

Encode text to tap code (Polybius taps).

Text to Braille

Convert text to Braille characters.

UUdecode

Decode UUencode text back.

UUencode

Encode text to UUencode format.

XXdecode

Decode XXencode text back.

XXencode

Encode text to XXencode format.

Z85 Decode

Decode Z85 back to text.

Z85 Encode

Encode text to ZeroMQ Z85.

Which encoding do you actually need?

Base64 is the default when arbitrary bytes have to travel through a text field: attachments, data URLs, API payloads. Base64URL is the variant used by JWTs and anything that must survive a URL or a filename — it replaces plus and slash with minus and underscore, and drops the padding. Base58 goes further for the same reason, removing characters that look alike, so a string can be read aloud or copied by hand without confusion.

Hexadecimal is not an encoding you ship, it is the format you debug in. When a Base64 string decodes to something unexpected, the Text to Hex and Hex to Text pair shows the actual byte layout — and a leading EF BB BF is the UTF-8 byte order mark rather than part of your text. Percent-encoding is the other common confusion: URL Encode belongs on a parameter value, not on a whole URL that already contains a query string, or the delimiters get escaped along with the data.

One warning worth repeating: Morse code, Caesar, ROT13, Rail Fence and their neighbours are ciphers for puzzles and classroom exercises. They have no key strength and no security value. If you need protection rather than obfuscation, use the AES tools in Crypto & Security, and remember that a reversible conversion and an encryption are never the same thing.