Start a project

Tool 338 of 425 · Encoding

Text to Binary Converter

Turns text into binary, hex, octal or decimal UTF-8 bytes and back, with a per-character breakdown.

Text to Binary Converter

Your input

Result

Result
CharCode pointUTF-8 bitsBytes

01

What it does

Turns text into binary, hex, octal or decimal UTF-8 bytes and back, with a per-character breakdown.

  • Binary, hex, octal and decimal
  • Decode back to text automatically
  • UTF-8, so emoji and accents work
  • Code point and byte count per character

02

Private by design

Everything happens in your browser. Nothing you type, paste or upload is sent anywhere, and it keeps working offline once the page has loaded.

03

What you get

Encoded text and a character table, with a Copy and a Download button on every result.

  • Binary
  • UTF-8
  • Hex

Why it matters

Binary and hex dumps show what a computer actually stores, which explains why é takes two bytes and an emoji takes four.

Handy for teaching, CTF puzzles and debugging encoding bugs.

How to use it

  1. Type or paste your input; the example shows the format.
  2. Press Convert. Results also update as you type.
  3. Read the summary line, then the table, notes or output below it.
  4. Copy or download what you need. Nothing leaves this page.

FAQ

Why is one emoji 32 bits?

UTF-8 encodes characters above U+FFFF in four bytes.

Is this ASCII?

For A–Z and digits UTF-8 and ASCII are identical, one byte each.

Is my input uploaded?

No. The tool runs in your browser and nothing you type, paste or open is sent anywhere.

Can I rely on the result?

It follows the public specification or formula named on this page and says where it simplifies. Check anything critical against the official tool or documentation before you ship it.

Work with me

Want a site that gets these right?

I build fast, accessible websites and web apps that pass these checks from day one. Tell me about your project and I'll reply personally with honest next steps.

All developer tools · Back to leej.uk