Hex to Text Converter (UTF-8, ASCII)
Choose a direction and an encoding, then paste text or hex. Hex can come with 0x prefixes, spaces, commas or line breaks.
Processed locally in your browser.
Not sure? Turn your internet off and try — it still works.
How it works
Text is stored as bytes, and which bytes depend on the encoding: the letter é is c3 a9 in UTF-8 but a single e9 byte in ISO-8859-1 and Windows-1252. Hexadecimal writes each byte as two digits, which makes it the usual way to read raw data in logs, network captures and file headers. This converter encodes text to hex and decodes hex back to text in UTF-8, UTF-16 (little and big endian), ASCII, ISO-8859-1 and Windows-1252. If a character does not exist in the chosen encoding, or a byte is not defined in it, you get an error instead of a silent replacement.
Frequently asked questions
Related tools
Base64 Converter
Convert text to Base64 and Base64 back to text, with full Unicode support.
Development
Number Base Converter (Binary, Octal, Decimal, Hex)
Convert numbers between binary, octal, decimal and hexadecimal.
Development
URL Encoder/Decoder
Encode and decode text for safe use in URLs, with JavaScript's two standard modes.
Development
Data Size Converter
Bit, byte, kB to QB and KiB to YiB, with every digit exact.
Converters