Encoder / decoder

Convert text between URL encoding, HTML entities, hexadecimal, binary, and ROT13. Pick a format, paste text, and the output updates as you type.

Encoder/decoder

Input0 chars
Output0 chars

Five formats in one tool

FormatWhat it doesCommon use
URLPercent-encodes unsafe URL characters (space → %20, & → %26)Building query strings, escaping search input
HTML entitiesReplaces <, >, &, ", \' with named entitiesEmbedding user-generated text in HTML safely
HexEach UTF-8 byte becomes two hex charactersInspecting binary payloads, debugging encoding
BinaryEach UTF-8 byte becomes 8 bitsTeaching, low-level encoding demos
ROT13Rotates each letter by 13 positionsLight obfuscation; spoiler hiding

Encoding vs encryption

Encoding is a reversible transformation that preserves data — anyone can decode without a key. Encryption requires a secret key to recover the original. Use these tools for safe transport and display, never for security.

FAQ

Is my text uploaded anywhere?

No. Everything runs in your browser. Nothing is sent over the network.

Why does ROT13 only affect letters?

ROT13 was designed for English alphabet rotation. Numbers, punctuation, and non-ASCII characters pass through unchanged.

What about non-ASCII text in hex/binary?

The tool encodes the UTF-8 byte sequence, so a single emoji or accented letter expands into multiple bytes. Decoding the same hex/binary back gives you the original characters.

Related tools