All Tools Store
Runs in your browser

Binary Converter

Turns text into 0s and 1s and back again, and converts numbers between decimal, binary, hexadecimal and octal.

Text ⇄ binary
Number bases

The conversion runs in your browser; nothing you type is sent to a server. Text is encoded as UTF-8: accented letters and emoji take more than one byte (group of 8).

How to use

  1. Type the text in the left box; its binary form appears on the right at once.
  2. To go the other way, paste the 0s and 1s into the right box.
  3. To convert a number, type in any of the four boxes below; the other three fill in themselves.
  4. Take the result with the Copy buttons.

How text becomes 0s and 1s

Every character has a number. That number is turned into bytes, and each byte into an eight-digit binary number:

CharacterNumberBinary
A6501000001
a9701100001
04800110000
space3200100000
é233 (2 bytes)11000011 10101001

The tool uses UTF-8: English letters take one byte, accented letters two, emoji four. That's why “é” shows up as two groups of eight.

The four number bases

BaseDigitsHow 255 is writtenWhere it's used
Decimal (10)0–9255Everyday life
Binary (2)0–111111111Hardware, bit operations
Hexadecimal (16)0–9, A–FFFColour codes, memory addresses, hashes
Octal (8)0–7377Unix file permissions (chmod 755)

One hex digit stands for exactly 4 bits and one octal digit for exactly 3. That makes converting to and from binary easy: 1111 1111 → F F.

For file and text digests see the hash generator; to embed binary data in text see the Base64 tool.

Limits and common mistakes

Glossary

Bit
A single 0 or 1; the smallest unit of information.
Byte
8 bits; holds a number from 0 to 255.
UTF-8
The common text encoding that turns each character into 1 to 4 bytes.
ASCII
The older table numbering English letters and symbols 0–127; identical to UTF-8 in that range.
Hex
Base sixteen; the letters A–F stand for the values 10–15.

Frequently asked questions

What is binary code?

A number system written with only the digits 0 and 1. Computers store everything (text, images, sound) as sequences of those two digits.

How many bits is one letter?

English letters, digits and punctuation take 8 bits (1 byte). Accented letters such as “é” take 16 bits, and emoji take 32.

How do I convert binary to text?

Paste the 0s and 1s into the box on the right. Spaced or unspaced makes no difference, as long as the total number of digits is a multiple of 8.

How is “Hi” written in binary?

01001000 01101001. The first group of eight is “H” (72), the second is “i” (105).

What is hexadecimal used for?

For writing binary numbers compactly. Each hex digit stands for 4 bits, which is why colour codes (#FF8800) and memory addresses are written in hex.

Can I convert very large numbers?

Yes. The number base section has no digit limit; numbers larger than 64 bits convert correctly too.

Are negative and fractional numbers supported?

No, only non-negative whole numbers. The binary form of a negative number depends on how many bits are used.

Base64 Encode & DecodeConvert text and files to Base64 and backHash GeneratorMD5, SHA-1, SHA-256 and SHA-512 digestsText ToolsDedupe, sort, shuffle, find & replace

the Mall of Accs team Last updated:

More free tools

2FA Code GeneratorInstant codes from your secret keyPassword GeneratorStrong random passwords, one or in bulkQR Code GeneratorQR for links, text, Wi-Fi and 2FAQR Code ScannerRead a QR code from an image or cameraImage to LinkUpload an image, get a shareable linkImage CompressorCompress, resize, convert JPG/PNG/WebPImage WatermarkAdd a text watermark to images in bulkGmail Dot & Alias GeneratorHundreds of addresses from one GmailAccount Line ParserTurn messy lines into clean columnsYouTube Channel IDUC channel ID from a URL or @handleFacebook UIDNumeric ID from a public profileInstagram User IDNumeric ID from a public profileTikTok User IDNumeric ID + secUid from a profileYouTube Link GeneratorTimestamp link, embed code, subscribe linkYouTube Tag ExtractorA video's tags, title and descriptionYouTube Logo & BannerDownload a channel's logo and bannerYouTube ThumbnailDownload a video cover image (HD)Earnings CalculatorYouTube/TikTok/Twitch/Spotify incomeEngagement RateEngagement % from followers + likesProfile Photo DownloaderTikTok & Instagram profile pictureWheel of NamesType names, spin the wheel, get a winnerGiveaway PickerPick a fair random winner from a listText CompareLine-by-line diff of two textsInstagram Bio Line BreakLine breaks that survive in bios and captionsFancy Text GeneratorBold, italic and fancy Unicode text stylesCharacter & Word CounterLive counts against platform limitsUTM Link BuilderAdd campaign tags to a linkSlug GeneratorTurn a title into an SEO-friendly URLJWT DecoderRead what is inside a tokenTimestamp ConverterUnix time to date and backJSON FormatterFormat, minify, find errors by linePassword Strength CheckerHow long would it take to crack?User-Agent ParserBrowser, OS, device and bot detectionIP LookupIP owner, ASN and reverse DNSEmail Domain CheckerMX, disposable, SPF and DMARCOutlook / Hotmail Inbox ReaderRead the inbox of an account you boughtShort Link GeneratorShorten long links in one clickUnit ConverterLength, weight, temperature, data and moreStopwatch & TimerLaps, plus a countdown with a sound alertDiscount CalculatorPercent-off price and discount rateCurrency ConverterDollar, euro, lira and 30 currencies