Free tool

ASCII Table and Unicode Converter

Look up the code of every character and convert text to numbers (decimal, hexadecimal), to Unicode, JavaScript, HTML or CSS escapes, and back to text.

Options

Characters: 0 · Lines: 0

Characters: 0 · Lines: 0

Full ASCII table

ASCII assigns a number from 0 to 127 to letters, digits, symbols and control characters. Codes 128 to 255 are shown according to Unicode (Latin-1). Click a character to copy it.

256 characters shown

DecHexOctBinaryCharacterHTMLName
00000000000000NULNull
10100100000001SOHStart of Heading
20200200000010STXStart of Text
30300300000011ETXEnd of Text
40400400000100EOTEnd of Transmission
50500500000101ENQEnquiry
60600600000110ACKAcknowledge
70700700000111BELBell
80801000001000BSBackspace
90901100001001HTHorizontal Tab
100A01200001010LFLine Feed
110B01300001011VTVertical Tab
120C01400001100FFForm Feed
130D01500001101CRCarriage Return
140E01600001110SOShift Out
150F01700001111SIShift In
161002000010000DLEData Link Escape
171102100010001DC1Device Control 1
181202200010010DC2Device Control 2
191302300010011DC3Device Control 3
201402400010100DC4Device Control 4
211502500010101NAKNegative Acknowledge
221602600010110SYNSynchronous Idle
231702700010111ETBEnd of Transmission Block
241803000011000CANCancel
251903100011001EMEnd of Medium
261A03200011010SUBSubstitute
271B03300011011ESCEscape
281C03400011100FSFile Separator
291D03500011101GSGroup Separator
301E03600011110RSRecord Separator
311F03700011111USUnit Separator
322004000100000SP Space
332104100100001!
342204200100010"
352304300100011#
362404400100100$
372504500100101%
382604600100110&
392704700100111'
402805000101000(
412905100101001)
422A05200101010*
432B05300101011+
442C05400101100,
452D05500101101-
462E05600101110.
472F05700101111/
4830060001100000
4931061001100011
5032062001100102
5133063001100113
5234064001101004
5335065001101015
5436066001101106
5537067001101117
5638070001110008
5739071001110019
583A07200111010:
593B07300111011&#59;
603C07400111100<
613D07500111101=
623E07600111110>
633F07700111111?
644010001000000@
654110101000001A
664210201000010B
674310301000011C
684410401000100D
694510501000101E
704610601000110F
714710701000111G
724811001001000H
734911101001001I
744A11201001010J
754B11301001011K
764C11401001100L
774D11501001101M
784E11601001110N
794F11701001111O
805012001010000P
815112101010001Q
825212201010010R
835312301010011S
845412401010100T
855512501010101U
865612601010110V
875712701010111W
885813001011000X
895913101011001Y
905A13201011010Z
915B13301011011[
925C13401011100\
935D13501011101]
945E13601011110^
955F13701011111_
966014001100000`
976114101100001a
986214201100010b
996314301100011c
1006414401100100d
1016514501100101e
1026614601100110f
1036714701100111g
1046815001101000h
1056915101101001i
1066A15201101010j
1076B15301101011k
1086C15401101100l
1096D15501101101m
1106E15601101110n
1116F15701101111o
1127016001110000p
1137116101110001q
1147216201110010r
1157316301110011s
1167416401110100t
1177516501110101u
1187616601110110v
1197716701110111w
1207817001111000x
1217917101111001y
1227A17201111010z
1237B17301111011{
1247C17401111100|
1257D17501111101}
1267E17601111110~
1277F17701111111DELDelete
1288020010000000C1Control (C1)
1298120110000001C1Control (C1)
1308220210000010C1Control (C1)
1318320310000011C1Control (C1)
1328420410000100C1Control (C1)
1338520510000101C1Control (C1)
1348620610000110C1Control (C1)
1358720710000111C1Control (C1)
1368821010001000C1Control (C1)
1378921110001001C1Control (C1)
1388A21210001010C1Control (C1)
1398B21310001011C1Control (C1)
1408C21410001100C1Control (C1)
1418D21510001101C1Control (C1)
1428E21610001110C1Control (C1)
1438F21710001111C1Control (C1)
1449022010010000C1Control (C1)
1459122110010001C1Control (C1)
1469222210010010C1Control (C1)
1479322310010011C1Control (C1)
1489422410010100C1Control (C1)
1499522510010101C1Control (C1)
1509622610010110C1Control (C1)
1519722710010111C1Control (C1)
1529823010011000C1Control (C1)
1539923110011001C1Control (C1)
1549A23210011010C1Control (C1)
1559B23310011011C1Control (C1)
1569C23410011100C1Control (C1)
1579D23510011101C1Control (C1)
1589E23610011110C1Control (C1)
1599F23710011111C1Control (C1)
160A024010100000NBSP No-break space
161A124110100001¡
162A224210100010¢
163A324310100011£
164A424410100100¤
165A524510100101¥
166A624610100110¦
167A724710100111§
168A825010101000¨
169A925110101001©
170AA25210101010ª
171AB25310101011«
172AC25410101100¬
173AD25510101101SHY­Soft hyphen
174AE25610101110®
175AF25710101111¯
176B026010110000°
177B126110110001±
178B226210110010²
179B326310110011³
180B426410110100´
181B526510110101µ
182B626610110110¶
183B726710110111·
184B827010111000¸
185B927110111001¹
186BA27210111010º
187BB27310111011»
188BC27410111100¼
189BD27510111101½
190BE27610111110¾
191BF27710111111¿
192C030011000000À
193C130111000001Á
194C230211000010Â
195C330311000011Ã
196C430411000100Ä
197C530511000101Å
198C630611000110Æ
199C730711000111Ç
200C831011001000È
201C931111001001É
202CA31211001010Ê
203CB31311001011Ë
204CC31411001100Ì
205CD31511001101Í
206CE31611001110Î
207CF31711001111Ï
208D032011010000Ð
209D132111010001Ñ
210D232211010010Ò
211D332311010011Ó
212D432411010100Ô
213D532511010101Õ
214D632611010110Ö
215D732711010111×
216D833011011000Ø
217D933111011001Ù
218DA33211011010Ú
219DB33311011011Û
220DC33411011100Ü
221DD33511011101Ý
222DE33611011110Þ
223DF33711011111ß
224E034011100000à
225E134111100001á
226E234211100010â
227E334311100011ã
228E434411100100ä
229E534511100101å
230E634611100110æ
231E734711100111ç
232E835011101000è
233E935111101001é
234EA35211101010ê
235EB35311101011ë
236EC35411101100ì
237ED35511101101í
238EE35611101110î
239EF35711101111ï
240F036011110000ð
241F136111110001ñ
242F236211110010ò
243F336311110011ó
244F436411110100ô
245F536511110101õ
246F636611110110ö
247F736711110111÷
248F837011111000ø
249F937111111001ù
250FA37211111010ú
251FB37311111011û
252FC37411111100ü
253FD37511111101ý
254FE37611111110þ
255FF37711111111ÿ

Strict ASCII covers codes 0 to 127. Between 128 and 159 there are control characters that are not displayed; codes 160 to 255 match ISO 8859-1 (Latin-1), and other code pages such as Windows-1252 assign different symbols to the 128-159 range.

Everything is processed in your browser. What you type is not sent to any server or stored.

How it works and what it does with your text

It's a small, straightforward utility: you paste, choose options and copy the result.

It runs in your browser

The text is transformed by this page's code, on your device. No sign-up or installation needed.

We don't store what you type

We don't send your text to any server or store it. You can check this in the Network tab of your browser's developer tools.

Free and unlimited

Use it as often as you like. It works the same on mobile and on desktop.

Tips to get the most out of it

ASCII, Latin-1 and Unicode

ASCII is 128 characters (7 bits). Latin-1 adds 128 more, with accented vowels and the ñ. Unicode includes more than 150,000 characters from all languages, and its first 256 match Latin-1.

HTML entities

The entities é or é display an é even if the page doesn't declare its encoding properly. Use “Convert only non-ASCII characters” to escape just what is needed.

Escapes in JavaScript and CSS

\u00E9 works in JavaScript and JSON strings; \E9 in the CSS content property. Emojis outside the basic plane are written as \u{1F600} in JavaScript.

Control codes

The first 32 codes are not printed: 9 is tab, 10 is line feed (LF), 13 is carriage return (CR) and 27 is escape. In the table you will see them by their abbreviation.

Frequently asked questions

What is ASCII code?

It is a table that assigns a number to each basic character: “A” is 65, “a” is 97 and “0” is 48. It was created so computers could exchange text.

How many characters does the ASCII table have?

128 in the original ASCII (0 to 127). The so-called extended ASCII table of 256 characters is not a single standard: there are several, such as Latin-1 or Windows-1252.

What is the ASCII code for ñ or accented vowels?

They are not in the original ASCII. In Unicode and Latin-1, ñ is 241 (F1) and Ñ is 209 (D1); á is 225 (E1) and é is 233 (E9).

How do I convert a text to ASCII?

Type the text, choose “Decimal” or “Hexadecimal” and you will see the code of each character. To go back to text, choose “Codes → text” and paste the numbers.

Do you have a repetitive task with texts or data?

We turn it into a custom tool or automation for your business. Tell us what you do by hand and we'll assess it with no commitment.

No spam. No sales calls. Just your personalised reply.