Skip to content
M2TOOLKIT

Text · free tool

Text to Hex Converter

Convert text to hexadecimal, or decode hex back into readable text.

Use it as often as you like — it's free, with no sign-up and no limits.

  • Text
  • Free
  • No sign-up
  • Nothing is sent or stored
  • Updated
Direction
Separator
0 characters
Text is encoded as UTF-8, so accents and emoji work.

The calculation happens instantly in your browser. The numbers you enter are not sent to our servers or saved.

How to use the Text to Hex Converter

  1. Choose the direction.
  2. Type text or paste hex (spaces and 0x prefixes are fine).
  3. Copy the result.

What does this tool do?

Hexadecimal writes each byte as two digits from 0–9 and A–F, which is compact and easy to read in debuggers, network tools and file dumps. “Hi” is 48 69.

Decoding accepts hex with or without spaces and with 0x prefixes, and tells you if the bytes aren't valid UTF-8.

Why use it?

  • Both directions.
  • Forgiving input.
  • UTF-8 validation.

Privacy

The calculation happens instantly in your browser. The numbers you enter are not sent to our servers or saved. There's no account to create and nothing to install.

Last reviewed by the M2Toolkit team.

Other tools people use alongside the text to hex converter.