Text to Binary, ASCII, Octal & Unicode
Convert text bidirectionally into binary bits, decimal ASCII codes, octal values, and \uXXXX Unicode escapes.
Related developer tools
All Developer toolsBase64 Encoder & Decoder
Encode or decode UTF-8 text and convert local files into Base64 data URLs.
Number Base Converter
Convert arbitrarily large integers across binary, octal, decimal, hexadecimal, and custom bases (2–36).
Base32 & Hex Encoder / Decoder
Encode and decode UTF-8 text using RFC 4648 Base32 or hexadecimal byte sequences.
Hex Viewer
Inspect raw bytes of local binary files or pasted text in a paginated hex and ASCII dump view.
About Text to Binary, ASCII, Octal & Unicode
Convert plain UTF-8 text into binary bit strings, decimal ASCII/byte codes, octal numbers, or \uXXXX Unicode escape sequences—and reverse any of those encodings back into readable text.
How to use Text to Binary, ASCII, Octal & Unicode
- 1
Select your target representation: Binary (8-bit), Decimal/ASCII, Octal, or Unicode escapes.
- 2
Choose Text → Format or Format → Text and type or paste your input.
- 3
Copy the converted output or swap input and output to verify a round-trip conversion.
Frequently asked questions
How are emojis and non-ASCII characters handled?
Binary, Decimal, and Octal modes encode raw UTF-8 byte sequences, while Unicode mode outputs JavaScript/JSON-compatible \uXXXX (and surrogate pair) escapes.
Do binary bytes need to be separated by spaces when decoding?
Spaces make binary easier to read, and you can paste either space-separated 8-bit groups or continuous multiples of 8 bits.
Does this converter send my input to a server?
No. Every bit and code-point conversion executes locally inside your browser.
