🔄 Encoding & Decoding

Free Online Encoding & Decoding Tools

Encode and decode Base64, URL-encoded strings, HTML entities, hex, ASCII, binary, Morse code, and Unicode — all in your browser.

Frequently Asked Questions

What is Base64 encoding?

Base64 encodes binary data as ASCII text using 64 characters (A-Z, a-z, 0-9, +, /). It's not encryption — it's purely encoding. Used to safely transmit binary data (images, files) in text-based protocols like email (MIME) and HTTP headers.

What is URL encoding?

URL encoding (percent-encoding) replaces unsafe ASCII characters with a % followed by two hex digits. For example, a space becomes %20 and & becomes %26. Required when including special characters in query parameters or form data.

What's the difference between Base64 and Base64URL?

Base64URL is a URL-safe variant that replaces + with - and / with _, and omits padding = characters. Used in JWTs and URL parameters where standard Base64 characters would cause parsing issues.

When would I use hex encoding?

Hex encoding represents each byte as two hexadecimal characters. Commonly used for cryptographic outputs (hash digests, encryption keys), byte-level debugging, color codes (#FF5733), and low-level protocol work.