ASCII Converter

Convert text to ASCII codes in decimal, hex, binary or octal – and decode them back. Handles emoji and accents with Unicode code points or UTF-8 bytes, and reveals hidden characters.

  • Both directions
  • Dec · Hex · Bin · Oct
  • Finds hidden characters
  • Runs in your browser

Converted in your browser – nothing is uploaded.

How to convert text to ASCII

  1. Choose a directionText → Codes turns characters into numbers. Codes → Text reads numbers back into text.
  2. Pick the formatDecimal, hex, binary, octal, U+ code points, \u escapes or HTML entities. For emoji and accented letters, choose code points or UTF-8 bytes.
  3. Copy or inspectCopy the result, or check the table to see every character with its codes. Invisible characters are highlighted.

ASCII table (0–127)

The full ASCII chart with decimal, hex, binary and octal codes. Codes 0–31 and 127 are control characters; 32–126 are printable. Handy ranges: digits 0–9 are 48–57, A–Z are 65–90 and a–z are 97–122 – a lowercase letter is its capital plus 32.

DecHexBinaryOctCharacter
00000000000000NUL Null
10100000001001SOH Start of heading
20200000010002STX Start of text
30300000011003ETX End of text
40400000100004EOT End of transmission
50500000101005ENQ Enquiry
60600000110006ACK Acknowledge
70700000111007BEL Bell
80800001000010BS Backspace
90900001001011TAB Horizontal tab
100A00001010012LF Line feed (new line)
110B00001011013VT Vertical tab
120C00001100014FF Form feed
130D00001101015CR Carriage return
140E00001110016SO Shift out
150F00001111017SI Shift in
161000010000020DLE Data link escape
171100010001021DC1 Device control 1 (XON)
181200010010022DC2 Device control 2
191300010011023DC3 Device control 3 (XOFF)
201400010100024DC4 Device control 4
211500010101025NAK Negative acknowledge
221600010110026SYN Synchronous idle
231700010111027ETB End of transmission block
241800011000030CAN Cancel
251900011001031EM End of medium
261A00011010032SUB Substitute
271B00011011033ESC Escape
281C00011100034FS File separator
291D00011101035GS Group separator
301E00011110036RS Record separator
311F00011111037US Unit separator
322000100000040Space
332100100001041!
342200100010042"
352300100011043#
362400100100044$
372500100101045%
382600100110046&
392700100111047'
402800101000050(
412900101001051)
422A00101010052*
432B00101011053+
442C00101100054,
452D00101101055-
462E00101110056.
472F00101111057/
4830001100000600
4931001100010611
5032001100100622
5133001100110633
5234001101000644
5335001101010655
5436001101100666
5537001101110677
5638001110000708
5739001110010719
583A00111010072:
593B00111011073;
603C00111100074<
613D00111101075=
623E00111110076>
633F00111111077?
644001000000100@
654101000001101A
664201000010102B
674301000011103C
684401000100104D
694501000101105E
704601000110106F
714701000111107G
724801001000110H
734901001001111I
744A01001010112J
754B01001011113K
764C01001100114L
774D01001101115M
784E01001110116N
794F01001111117O
805001010000120P
815101010001121Q
825201010010122R
835301010011123S
845401010100124T
855501010101125U
865601010110126V
875701010111127W
885801011000130X
895901011001131Y
905A01011010132Z
915B01011011133[
925C01011100134\
935D01011101135]
945E01011110136^
955F01011111137_
966001100000140`
976101100001141a
986201100010142b
996301100011143c
1006401100100144d
1016501100101145e
1026601100110146f
1036701100111147g
1046801101000150h
1056901101001151i
1066A01101010152j
1076B01101011153k
1086C01101100154l
1096D01101101155m
1106E01101110156n
1116F01101111157o
1127001110000160p
1137101110001161q
1147201110010162r
1157301110011163s
1167401110100164t
1177501110101165u
1187601110110166v
1197701110111167w
1207801111000170x
1217901111001171y
1227A01111010172z
1237B01111011173{
1247C01111100174|
1257D01111101175}
1267E01111110176~
1277F01111111177DEL Delete

Frequently asked questions

What is ASCII?

ASCII is a 1963 standard that gives each of 128 characters a number from 0 to 127: A is 65, a is 97, 0 is 48 and a space is 32. Codes 0–31 and 127 are invisible control characters such as tab (9) and line feed (10). Every modern encoding, including UTF-8, keeps these same numbers.

What happens with characters outside ASCII, like é, ₹ or emoji?

They have no ASCII code. The tool shows their Unicode code point instead (₹ is 8377, U+20B9), or their UTF-8 bytes if you choose that option (₹ is E2 82 B9). The table marks every non-ASCII character.

Code points or UTF-8 bytes – which should I use?

Code points identify characters and are what you use in HTML entities or programming escapes. UTF-8 bytes are what is actually stored in a file or sent in a URL – use them when debugging files, network data or percent-encoding.

How does decoding detect the format?

Prefixes such as 0x, 0b, U+, \u and &# are always understood. For plain numbers, groups of 0s and 1s of 8 digits are read as binary, any letter A–F means hex, and otherwise decimal. You can override the detection. A run like 48656C6C6F without spaces is split into bytes.

How do I find hidden characters in text?

Paste the text in Text → Codes mode. Zero-width spaces, non-breaking spaces, byte order marks and control characters are highlighted in the table, with their names – a common cause of failing passwords, broken CSV imports and “identical” strings that don’t match.

Is extended ASCII (128–255) supported?

Yes, as Unicode code points 128–255, which match the Latin-1 (ISO 8859-1) characters. Windows-1252 differs for 128–159, where it has characters like € and curly quotes.

Is my text uploaded?

No. Conversion happens in your browser.

Last updated: