Encoding converters
Convert text or encoded bytes to Base64, hex, Base32, percent-encode URLs, or escape HTML entities. Encoding is reversible. It is not a cipher.
18 tools
Subcategories
Encoding versus hashing
Base64 and URL encoding are reversible. Hashes are not. If you need a checksum, use the hash tools instead.
Which converter to open
Use Base64 for binary-to-text. Use hex or Base32 when a system wants those alphabets. Use URL encoding for percent-encoding. Use HTML entities to escape or unescape &, <, and quotes.
- Basic Auth Header HTTP Basic Authorization header. Reversible Base64, not encryption.
- Punycode Converter IDNA punycode for domain labels.
- Base64 Decoder Decode a Base64 string to UTF-8 text, hex, or another encoding. Invalid input fails with a clear error.
- Base64 Encoder Turn text or encoded bytes into Base64. Pick the input encoding and the alphabet your target system expects.
- Base64 to Hex Base64 to hexadecimal.
- Base64 to Image Preview an image from Base64 or a data URL.
- File to Base64 Any local file to Base64. Does not parse PDF structure.
- Image to Base64 Local image to a Base64 data URL. Nothing uploaded.
- URL Decoder Decode percent-encoded text. A malformed % sequence reports an error instead of a partial string.
- URL Encoder Percent-encode a string for a query value, a full URI, or a form body.
- HTML Decoder Replace HTML 4 named character references and decimal or hex numeric references with the characters they stand for. Names are case-sensitive (Ω is not ω). Unknown names are left unchanged.
- HTML Encoder Turn the five HTML text specials into character references so the string can sit in HTML text. Named entities for ampersand, less-than, greater-than, and quotes; numeric ' for apostrophe. Other characters, including emoji, are left as they are.
- Hex Decoder Hex to text. Spaces ignored.
- Hex Encoder UTF-8 or encoded bytes to hexadecimal.
- Binary to Text 8-bit groups to text.
- Text to Binary Text to 8-bit binary groups.
- Base32 Decoder RFC 4648 Base32 decode.
- Base32 Encoder RFC 4648 Base32 (A-Z2-7).