Hex ↔ ASCII Converter
Convert text to hexadecimal representation and decode hex strings back to readable ASCII text.
100% client-side · no upload
How to use
- To encode: type plain text and click "Text → Hex (spaces)" for space-separated output.
- To decode: paste hex bytes (with or without spaces or 0x prefix) and click "Hex → Text".
- Choose the separator format that matches your target system.
Related tools
- Binary ↔ Text — 8-bit binary groups
- Base32 Encoder — TOTP-compatible encoding
- Base64 Encoder — standard binary-to-text encoding
More ways to use this tool
Frequently Asked Questions
- What is hex encoding?
- Hexadecimal encoding represents each byte of a string as two hex digits (0–9 and A–F). For example, the letter "A" has ASCII code 65 decimal, which is 41 in hexadecimal. Hex is widely used in programming for displaying binary data in a human-readable form.
- Does my data leave my device?
- No. The hex conversion runs entirely in your browser as pure JavaScript.
- Does it work on mobile?
- Yes. The output updates instantly on click in any modern mobile browser.
Last updated: By jarvisbox