Text to Hex Converter
Convert text to hexadecimal and back (Hi → 48 69) — UTF-8 or Unicode, any separator, plus Base64, URL, HTML entity and \u escape modes, with the direction detected automatically.
- Your data never leaves your device
- 100% free
- No sign-up
- Works offline after first load
How to use the text to hex converter
- Type, paste or open your text — or paste hexadecimal to decode it.
- Pick the code, separator and options; the result updates instantly.
- Copy the result, download it, or download the character table.
About Text to Hex Converter
Convert text to hexadecimal as you type, or paste hexadecimal to turn it back into text — the direction is detected for you. Text is encoded as UTF-8, so accents, Indian scripts and emoji work.
Choose the separator, padding and prefixes, switch to Unicode code points, or use the other encodings: binary, hex, decimal, octal, Base64, URL encoding, HTML entities and \u escapes. Download the result or a per-character table with every format.
Good for
- Programming, debugging and data exchange
- Computer science lessons and puzzles
- Checking how characters are stored
Tip: Paste the code straight in — spaces, commas, 0x and \x prefixes are all understood when decoding.
Frequently asked questions
How is text converted to hex?
Each character becomes its UTF-8 byte(s), and every byte is written as two hex digits: “H” = 72 = 48 in hex.
Can it convert hex back to text?
Yes — paste hex with or without spaces, commas, 0x or \x prefixes and it decodes automatically.
Which separator should I use?
Spaces are easiest to read; “None” gives a compact string such as 4869 for code, and commas or new lines suit arrays and spreadsheets.
Which other encodings are included?
Binary, hexadecimal, decimal / ASCII, octal, Base64 (also URL-safe and MIME-wrapped), URL encoding, HTML entities and Unicode escapes — each in both directions.
Can I convert a file?
Yes — open or drop a text file (TXT, CSV, JSON, Markdown, Word or PDF); it is read in your browser.
Is my text uploaded?
No — the conversion runs entirely in your browser, so private text, keys and files never leave your device.