Text to Hex

Encode each UTF-8 byte of your text as 2 hex digits.

Encoder Text Codecs Updated Apr 20, 2026
How to Use
  1. Type or paste your input on the left.
  2. The result appears live on the right - no buttons needed.
  3. Copy the output with one click.

About this codec

Encode each UTF-8 byte of your text as 2 hex digits.

About Hexadecimal

Hexadecimal is text expressed as base-16 byte values. This tool lets you encode text into Hexadecimal instantly and entirely in your browser. It is commonly used for inspecting byte values, colour codes, and protocol data.

💡Worked example: Hi48 69

How to use it

Type or paste your text into the box and it turns into Hexadecimal live as you type — everything runs locally in your browser. Learn more in the Knowledge Base.

Frequently Asked Questions

Does this leave my browser?

No - the conversion runs entirely in JavaScript on this page.

What does Hexadecimal look like?

Hi becomes 48 69. Hexadecimal is typically used for inspecting byte values, colour codes, and protocol data.

Does my text leave my browser?

No. The Hexadecimal conversion runs entirely in JavaScript on this page — nothing is uploaded, and it works offline.

Is Hexadecimal reversible?

Yes. Hexadecimal is a lossless representation, so you can convert back and forth without losing any data.

Common Use Cases

Inspecting byte values, colour codes, and protocol data

Hexadecimal is commonly used for inspecting byte values, colour codes, and protocol data — produce it here in one step.

Learning & puzzles

See how text maps to Hexadecimal — handy for coursework, CTF challenges, and puzzle hunts.

Private by design

Everything runs locally in your browser, so you can paste sensitive text without it leaving your device.

Last updated: