We Value Your Privacy

We use cookies to enhance your browsing experience and analyze site traffic. All calculations happen locally in your browser - we never see or store your data. Learn more in our Privacy Policy

/
/
CalculateYogi
  1. Home
  2. Technology
  3. Binary & ASCII Translator
Technology

Binary & ASCII Translator

Free binary translator. Convert text to binary, hex, decimal or octal and decode it back, with real UTF-8 bytes and the full ASCII table.

Start from an example
Number base
Character encoding

Anything you can type or paste — letters, accents, emoji, tabs and newlines all count.

Separator between codes
Binary

The full ASCII table

All 128 positions of the 7-bit set defined by ECMA-6: 95 printable characters (32 to 126) and 33 control codes (0 to 31, plus 127). Scroll the table to find any code.

DecimalCharacterHexBinaryOctal
0NUL — Null0000000000000
1SOH — Start of Heading0100000001001
2STX — Start of Text0200000010002
3ETX — End of Text0300000011003
4EOT — End of Transmission0400000100004
5ENQ — Enquiry0500000101005
6ACK — Acknowledge0600000110006
7BEL — Bell0700000111007
8BS — Backspace0800001000010
9HT — Horizontal Tab0900001001011
10LF — Line Feed0A00001010012
11VT — Vertical Tab0B00001011013
12FF — Form Feed0C00001100014
13CR — Carriage Return0D00001101015
14SO — Shift Out0E00001110016
15SI — Shift In0F00001111017
16DLE — Data Link Escape1000010000020
17DC1 — Device Control 11100010001021
18DC2 — Device Control 21200010010022
19DC3 — Device Control 31300010011023
20DC4 — Device Control 41400010100024
21NAK — Negative Acknowledge1500010101025
22SYN — Synchronous Idle1600010110026
23ETB — End of Transmission Block1700010111027
24CAN — Cancel1800011000030
25EM — End of Medium1900011001031
26SUB — Substitute1A00011010032
27ESC — Escape1B00011011033
28FS — File Separator1C00011100034
29GS — Group Separator1D00011101035
30RS — Record Separator1E00011110036
31US — Unit Separator1F00011111037
32space2000100000040
33!2100100001041
34"2200100010042
35#2300100011043
36$2400100100044
37%2500100101045
38&2600100110046
39'2700100111047
40(2800101000050
41)2900101001051
42*2A00101010052
43+2B00101011053
44,2C00101100054
45-2D00101101055
46.2E00101110056
47/2F00101111057
4803000110000060
4913100110001061
5023200110010062
5133300110011063
5243400110100064
5353500110101065
5463600110110066
5573700110111067
5683800111000070
5793900111001071
58:3A00111010072
59;3B00111011073
60<3C00111100074
61=3D00111101075
62>3E00111110076
63?3F00111111077
64@4001000000100
65A4101000001101
66B4201000010102
67C4301000011103
68D4401000100104
69E4501000101105
70F4601000110106
71G4701000111107
72H4801001000110
73I4901001001111
74J4A01001010112
75K4B01001011113
76L4C01001100114
77M4D01001101115
78N4E01001110116
79O4F01001111117
80P5001010000120
81Q5101010001121
82R5201010010122
83S5301010011123
84T5401010100124
85U5501010101125
86V5601010110126
87W5701010111127
88X5801011000130
89Y5901011001131
90Z5A01011010132
91[5B01011011133
92\5C01011100134
93]5D01011101135
94^5E01011110136
95_5F01011111137
96`6001100000140
97a6101100001141
98b6201100010142
99c6301100011143
100d6401100100144
101e6501100101145
102f6601100110146
103g6701100111147
104h6801101000150
105i6901101001151
106j6A01101010152
107k6B01101011153
108l6C01101100154
109m6D01101101155
110n6E01101110156
111o6F01101111157
112p7001110000160
113q7101110001161
114r7201110010162
115s7301110011163
116t7401110100164
117u7501110101165
118v7601110110166
119w7701110111167
120x7801111000170
121y7901111001171
122z7A01111010172
123{7B01111011173
124|7C01111100174
125}7D01111101175
126~7E01111110176
127DEL — Delete7F01111111177

How UTF-8 spends its bytes

UTF-8 is variable width. The first 128 code points are one byte and identical to ASCII; everything else costs two, three or four.

Byte counts and bit patterns are from RFC 3629 §3.

Code pointsBit patternBytes
U+0000–U+007FBasic Latin, identical to ASCII0xxxxxxx1
U+0080–U+07FFAccented Latin, Greek, Cyrillic, Arabic, Hebrew110xxxxx 10xxxxxx2
U+0800–U+FFFFMost CJK, Indic scripts, currency symbols1110xxxx 10xxxxxx 10xxxxxx3
U+10000–U+10FFFFEmoji, rare CJK, historic scripts11110xxx 10xxxxxx 10xxxxxx 10xxxxxx4
Did this calculator solve your problem today?

Contributor

Reviewed by

Last updated: September 16, 2026
SupportI build these free tools with love, late nights, and way too much coffee. If this calculator helped you, a small donation would mean the world to me and help keep this site running. Thank you for your kindness!

Related Calculators

You might also find these calculators useful

Binary Calculator

Binary arithmetic and base conversion, exact past 64 bits

Hex Calculator

Convert, add and mask hex, binary, octal and decimal

SHA-256 & MD5 Hash Generator

Generate and verify SHA-256, MD5, SHA-1, SHA-512 and SHA-3 digests

Morse Code Translator

Convert text to Morse code and Morse code to text

Translate text to binary, and binary back to text

Type a sentence and read it as binary, hexadecimal, decimal or octal; paste a run of ones and zeros and read it back as words. Every conversion goes through real UTF-8 bytes, so accented letters, Chinese characters and emoji come out the way an actual computer stores them — not as a number that only looks right.

What ASCII is, and where UTF-8 takes over

ASCII is a 7-bit code: 128 positions, numbered 0 to 127, standardised as ECMA-6 and ISO/IEC 646. Positions 33 to 126 are the printable characters — digits, the Latin alphabet in both cases, and punctuation. Position 32 is the space, and the remaining 33 are control codes that once drove teleprinters and still mark the end of a line today. ASCII has no position for é, for 東, or for an emoji, so the web uses UTF-8 instead: a variable-width encoding that keeps the first 128 code points byte-for-byte identical to ASCII and spends two, three or four bytes on everything above. That backward compatibility is why plain English text is the same bytes in both, and why a tool that quietly treats a code point as a byte gets the right answer for English and the wrong one for everything else.

What a conversion actually does

How to use the binary translator

1

2

3

4

5

6

7

Common use cases

Decoding a binary puzzle

Paste eight-bit groups from a CTF challenge, a game or a message board and read the plain text out.

Diagnosing mojibake

Compare what the bytes should be against what a system produced; a é that arrives as C3 83 C2 A9 was encoded twice.

Validating an ASCII-only field

Run the string through the 7-bit mode before it hits a system that will reject or mangle anything above 127.

Reading strings out of a packet capture

Paste the hexadecimal from Wireshark or a hex editor and see which parts are readable text.

Teaching character encoding

Show a class the same letter as a character, a code point, a decimal value and eight bits, in one screen.

Writing escape sequences

Octal and hexadecimal byte values are exactly what a C, shell or regex escape needs.

Why translate text to binary?

Reading a binary message

Puzzles, CTF flags, T-shirts and birthday cards all hide text in eight-bit groups. Paste the groups and the sentence comes back.

Debugging an encoding bug

When a name arrives as é instead of é, the byte view tells you whether it was encoded twice, decoded as Latin-1, or never was UTF-8 at all.

Checking a field is pure ASCII

Bank files, DNS labels, HTTP headers and legacy databases often accept only 0–127. The ASCII mode refuses the string and names the character that broke it.

Working from a hex dump

A hex editor, a packet capture or a memory view gives you bytes. Paste them and read the strings inside without guessing.

Learning how characters are stored

Seeing 'A' become U+0041, then 65, then 01000001 makes the abstraction concrete in a way a table alone does not.

Counting the real size of a string

Characters and bytes are not the same number once you leave English. The tile row shows both, plus how many characters cost more than one byte.

Frequently asked questions

Each character becomes a number, and that number is written in base 2. In UTF-8 an English letter is one byte, so it becomes eight bits: 'A' is 65, which is 01000001. Type your text above and the binary appears below, one eight-bit group per byte.

Split the ones and zeros into groups of eight, read each group as a number, and look the number up as a character. Press Swap, paste your binary, and the tool does it — and tells you if a group is not eight bits long instead of guessing.

ASCII assigns the capital letter A to position 65. In base 2, 65 is 1000001 — seven bits. A byte is eight bits, so a leading zero is added: 01000001. Every uppercase letter follows on from there, and the lowercase letters start 32 higher, at 97 for 'a'.

ASCII defines 128 characters in 7 bits. UTF-8 defines all 1,114,112 Unicode code points using one to four bytes, and deliberately encodes the first 128 exactly as ASCII does. Any pure-ASCII text is therefore identical in both. They differ the moment you use an accent, a non-Latin script, a curly quote or an emoji.

é is U+00E9, which is above the 127 that fits in one byte. UTF-8 lays code points from U+0080 to U+07FF into two bytes with the pattern 110xxxxx 10xxxxxx, giving C3 A9. A tool that prints a single byte E9 for é is using Latin-1, not UTF-8, and its output will not decode correctly anywhere that expects UTF-8.

Four. Emoji live above U+FFFF, and UTF-8 spends four bytes on that range. The waving-hand emoji is U+1F44B, which is F0 9F 91 8B. Some emoji you see are several code points joined together — a family emoji can be four people plus three joiners, well over twenty bytes for one picture.

The 33 positions with no printable shape: 0 to 31 plus 127. They include NUL (0), BEL (7) which once rang a bell, BS (8) backspace, HT (9) tab, LF (10) line feed, CR (13) carriage return, ESC (27) which starts terminal escape sequences, and DEL (127). Most are historical, but LF, CR, HT and ESC are in constant use.

ASCII is only 0 to 127. "Extended ASCII" is a loose name for any of the incompatible 8-bit sets that filled 128 to 255 differently — Latin-1, Windows-1252, code page 437 and dozens more. The same byte meant different characters in each, which is the exact problem Unicode was created to end. This tool does not guess between them.

Yes. Choose Hex as the base, press Swap so the tool is decoding, and paste your bytes — with or without 0x prefixes, separated by spaces, commas or line breaks. A token that is not valid hexadecimal is reported rather than silently skipped.

Almost always one of three things: the groups are not eight bits, a stray character got pasted in with the digits, or the bytes are not valid UTF-8 because they came from a Latin-1 tool. The error message names which of the three it is and points at the offending code.

32 in decimal, 20 in hexadecimal, 040 in octal, and 00100000 in binary. It is the first printable position and the only one with no visible shape, which is why it sits between the control codes and the punctuation.

In everyday use, yes — "binary code" usually means text written as ones and zeros, which is what this page produces. Strictly, binary is just base 2; it describes any number written with two digits, including the machine instructions in a program, which are binary but are not text.

Not if the width is fixed. Binary bytes are always eight digits and hex bytes are always two, so a continuous run splits cleanly. Decimal is the exception: 72105 could be many things, so choosing no separator pads every code to three digits and writes 072105, which does split cleanly.

No. The conversion runs in your browser. Nothing you type is uploaded, logged or stored, which matters if you are pasting real data out of a capture or a database to inspect it.

CalculateYogi

The most comprehensive calculator web app. Free, fast, and accurate calculators for everyone.

Calculator Categories

  • Math
  • Finance
  • Health
  • Conversion
  • Date & Time
  • Statistics
  • Science
  • Engineering
  • Business
  • Everyday
  • Construction
  • Education
  • Technology
  • Food & Cooking
  • Sports
  • Climate & Environment
  • Agriculture & Ecology
  • Social Media
  • Other

Company

  • About
  • Contact
  • Contributors

Legal

  • Privacy Policy
  • Terms of Service
  • Editorial Policy

© 2026 CalculateYogi. All rights reserved.

Sitemap

Made with by the AppsYogi team