Toolvore

Hex / Binary / Text Converter

Convert UTF-8 text, hex and binary in six directions, validate input and download original bytes.

This tool runs entirely in your browser. Your data is never uploaded, never stored, and never leaves your device.

Convert UTF-8 text, hex and binary bytes in six directions, detect invalid text encoding, and download unchanged bytes.

How to use it

  1. 1Choose the input and output direction.
  2. 2Paste text or complete bytes using the documented grammar and convert.
  3. 3Inspect the output or decoding error, then copy or download the appropriate representation.

What happens to your data

Input stays on your device. Binary bytes are not executed or silently repaired into different text.

Last updated October 2026

Convert text, hexadecimal and binary bytes without confusing an encoded byte with a printed character. Select the input and output direction, inspect the byte count, and copy or download the result. Text uses UTF-8, so accented names, Indian scripts and emoji can be represented without pretending they are single-byte ASCII.

A hexadecimal string is not necessarily valid text. The byte ff is legitimate binary data but cannot be decoded as a complete UTF-8 character. This tool reports that distinction instead of quietly replacing a broken byte with the replacement character. Hex-to-binary and binary-to-hex operations still work for non-text bytes; use the byte download when the result is a binary file rather than readable words.

How it works

Text is encoded as UTF-8 bytes, then represented as two hexadecimal digits or eight binary digits per byte. Decoding reverses that process with strict UTF-8 checks. A leading UTF-8 byte-order mark is preserved rather than silently removed. Whitespace is data; a trailing newline changes the output. Browser text boxes can normalise pasted CRLF to LF, so use hex or binary input and the raw-byte download when exact original line-ending bytes matter.

Input is limited to 300,000 characters and 32,768 decoded bytes (32 KiB). Hex and binary groups must contain complete bytes; each group may have a 0x or 0b prefix respectively. Spaces, tabs and line breaks separate groups, but cannot split a byte. Incomplete bytes, invalid digits, commas and colons are refused instead of being partly parsed. This is not a hexdump parser: address columns and ASCII sidebars are not automatically stripped. Copy just the byte sequence from a dump before converting it.

Choose Text to Hex, Hex to Text, Text to Binary, Binary to Text, Hex to Binary or Binary to Hex. Changing the source or direction clears an old result, so the download cannot accidentally belong to a previous conversion. All processing is local and output is treated as data, not executed as HTML or JavaScript. A byte download preserves bytes; it does not establish that an unknown file is safe to open.

Worked example: an emoji takes four UTF-8 bytes

Input
🚀
Result
f0 9f 9a 80

The rocket is one displayed symbol but four bytes; UTF-8 is not one byte per character.

Common use cases

  • Inspecting UTF-8 bytes in a debugging payload
  • Moving between a binary byte string and hexadecimal
  • Detecting damaged or incomplete text encoding
  • Saving raw bytes without a text decoder changing them

Frequently asked questions

How do I convert hex to text?+

Select Hex to Text, paste the hexadecimal bytes and convert. Each byte needs two hex digits. The decoder expects UTF-8; if the bytes use another character encoding, decode them with a tool configured for that encoding.

Why does ff not convert into a character?+

ff is a valid byte but not a valid standalone UTF-8 sequence. The tool refuses to invent a replacement character. You can still convert the byte to binary or download the raw bytes.

Is this an ASCII converter or a Unicode converter?+

It encodes and decodes UTF-8. ASCII characters have the same one-byte representation in UTF-8, while other Unicode characters can need several bytes. It is not a UTF-16 or Windows-1252 decoder.

Can I convert hex directly to binary?+

Yes. The byte-to-byte directions do not pass through text decoding, so all byte values remain available even when they do not form readable UTF-8.

Why does a newline change the hex output?+

A newline is part of the text, not decoration. LF contributes byte 0a; CRLF contributes 0d 0a. The converter does not trim your text before encoding it.