Text to Binary Converter
Convert text to binary and back (Hi → 01001000 01101001) — UTF-8 or Unicode, any separator, plus Base64, URL, HTML entity and \u escape modes, with the direction detected automatically.
- Your data never leaves your device
- 100% free
- No sign-up
- Works offline after first load
How to use the text to binary converter
- Type, paste or open your text — or paste binary to decode it.
- Pick the code, separator and options; the result updates instantly.
- Copy the result, download it, or download the character table.
About Text to Binary Converter
Convert text to binary as you type, or paste binary to turn it back into text — the direction is detected for you. Text is encoded as UTF-8, so accents, Indian scripts and emoji work.
Choose the separator, padding and prefixes, switch to Unicode code points, or use the other encodings: binary, hex, decimal, octal, Base64, URL encoding, HTML entities and \u escapes. Download the result or a per-character table with every format.
Good for
- Programming, debugging and data exchange
- Computer science lessons and puzzles
- Checking how characters are stored
Tip: Paste the code straight in — spaces, commas, 0x and \x prefixes are all understood when decoding.
Frequently asked questions
How is text converted to binary?
Each character is turned into its UTF-8 byte(s) and every byte is written as 8 bits. “H” is byte 72, which is 01001000 in binary.
Can it convert binary back to text?
Yes — paste binary and the direction is detected automatically (or pick “Code → text”). Spaces between bytes are optional.
Does it support emoji and other languages?
Yes. Characters outside ASCII use 2–4 UTF-8 bytes, so 👋 becomes four bytes. Tick “Unicode code points” to get one number per character instead.
Which other encodings are included?
Binary, hexadecimal, decimal / ASCII, octal, Base64 (also URL-safe and MIME-wrapped), URL encoding, HTML entities and Unicode escapes — each in both directions.
Can I convert a file?
Yes — open or drop a text file (TXT, CSV, JSON, Markdown, Word or PDF); it is read in your browser.
Is my text uploaded?
No — the conversion runs entirely in your browser, so private text, keys and files never leave your device.