Skip to content

ASCII Table

Table de reference ASCII avec recherche et conversion.

Convertisseur

Conversion de texte

-
-
-

Table ASCII (0-127)

Dec Hex Oct Bin Char Description

Categories ASCII

Caracteres de controle (0-31, 127)

Code Abbr Description Usage
0 NUL Null Fin de chaine (C)
7 BEL Bell Bip sonore
8 BS Backspace Retour arriere
9 HT Horizontal Tab Tabulation
10 LF Line Feed Nouvelle ligne (Unix)
13 CR Carriage Return Retour chariot (Windows: CR+LF)
27 ESC Escape Sequences d'echappement
127 DEL Delete Suppression

Caracteres speciaux courants

Char Dec Hex Nom
32 20 Espace
! 33 21 Point d'exclamation
" 34 22 Guillemet double
# 35 23 Diese
$ 36 24 Dollar
% 37 25 Pourcent
& 38 26 Esperluette
' 39 27 Apostrophe
* 42 2A Asterisque
@ 64 40 Arobase
\ 92 5C Backslash
^ 94 5E Accent circonflexe
` 96 60 Accent grave
~ 126 7E Tilde

Commandes utiles

# Afficher la table ASCII
man ascii

# Convertir caractere en code
printf '%d\n' "'A"     # 65

# Convertir code en caractere
printf "\\$(printf '%03o' 65)"   # A

# Python
python -c "print(ord('A'))"      # 65
python -c "print(chr(65))"       # A

# PowerShell
[int][char]'A'                   # 65
[char]65                         # A