RevealTheme logo

Convertisseur ASCII vers hexadécimal

Convertissez du texte en codes hexadécimaux ASCII et inversement. Chaque caractère est converti en sa valeur hexadécimale à 2 chiffres.

Comment utiliser cet outil

  1. 1

    Pick a direction from the dropdown: 'Text -> Hex' to encode, or 'Hex -> Text' to decode.

  2. 2

    Type or paste your input into the text box.

  3. 3

    Read the converted result in the output box below — it updates live as you type.

  4. 4

    For decoding, separate each hex value with a space (for example '48 65 6C 6C 6F').

Qu'est-ce que le convertisseur ASCII vers hexadécimal ?

Chaque caractère de votre texte correspond à un nombre (ASCII pour le latin de base, points de code Unicode pour tout le reste). L'hexadécimal est la façon compacte de représenter ces nombres : « A » vaut 65 en décimal, 41 en hexadécimal. Cette conversion est utile pour déboguer des problèmes d'encodage de texte, travailler avec des protocoles binaires ou construire des séquences d'échappement.

Cas d'usage courants

  • Inspecting invisible control characters (tabs, newlines, non-breaking spaces) that are breaking a parser or CSV import.

  • Hand-building escape sequences like \x41 for code, regex, or shell snippets.

  • Decoding a space-separated hex dump pasted from a log, packet capture, or protocol trace back into readable text.

  • Teaching or learning how characters map to numeric codes and base-16 notation.

  • Quickly checking the hex code of a specific symbol before hard-coding it into a config or test fixture.

  • Spotting smart quotes or homoglyphs by confirming whether a character is the plain ASCII version or a higher code point.

Outils connexes