All tools › Notations
Text to binary converter
Bytes in base two, eight, ten or sixteen — and a byte is not a character.
It runs entirely in this browser tab: what you type is never uploaded, and the tool makes no network request while it works. Open your browser's network panel and try it — nothing leaves the page. There is no sign-up and no limit beyond what your own browser can hold.
Settings
- Direction
- Choices: Convert, Convert back.
- Base
- Choices: Binary, Octal, Decimal, Hex.
- Encoding
- This is what decides how many bytes a letter takes. Choices: UTF-8, UTF-16 BE, UTF-16 LE, Latin-1.
- Separator
- Choices: Ordinary space, None, Comma, New line.
- Pad with zeros
- Every byte the same width, which is how it is usually read back.
How to use it
- Paste your text into the box above, or open a file.
- Adjust the settings beside it until the result is what you wanted.
- Copy the result, or save it as a file. The result updates as you type.
Questions
- Is what I type uploaded anywhere?
- No. This page carries the whole tool as WebAssembly and runs it on your own device. Nothing you type is sent anywhere.
- Why does the result show as boxes on this page?
- The two typefaces this interface ships do not have these characters — very few typefaces do. The result is correct and copying it gives the real characters; the tool says so whenever that is the case.
- How long will the result be?
- Longer than it looks, and the tool shows all three numbers: characters, letters as a person would count them, and bytes. A field's limit is in one of those three and never says which, which is why all three are here.
- Can I get this result again later?
- The settings travel in the page's address, after the #, so a link reproduces them exactly — and the fragment of an address is never sent to a server. Anything random takes a seed, so the same seed gives the same result every time.
Other tools for notations
All twenty-five tools