⚡
usefultools.dev
A↔0x

ASCII Hex Converter (Text ↔ Hex)

NOUVEAU

Convert text to hexadecimal bytes and hex back to readable text, in UTF-8 or single-byte ASCII / Latin-1.

Fonctionne à 100 % dans votre navigateur — vos données ne sont jamais envoyées ni stockées sur nos serveurs.

Cet outil n'est pas encore entièrement traduit : une partie du texte est encore en anglais. L'outil lui-même fonctionne de la même façon dans toutes les langues.

⚡

Exemples rapides

Des entrées typiques et les résultats produits par cet outil.

Text to hex
Hello
48656C6C6F
Text to hex
Hello, EMV!
48656C6C6F2C20454D5621
Text to hex
é (UTF-8)
C3A9
Hex to text
41 42 43
ABC
Hex to text
3030
00
📖

Présentation

Protocols, logs and smart-card traces often show text as hex bytes: a merchant name in a payment message, an application label on a chip card, or a string inside a binary file. This converter turns text into hex bytes and hex back into text in both directions.

Choose UTF-8 for modern text or ASCII / Latin-1 for one byte per character, as used in most payment and legacy protocols. Hex input may contain spaces, colons or 0x prefixes. Non-printable bytes are replaced by a dot so binary data stays readable.

The result updates as you type and shows the byte count, which helps when a length field in a message must match the data. In Latin-1 mode, characters above U+00FF cannot be encoded and produce an error instead of being silently changed. The tool converts bytes only; it does not interpret the data as a payment message.

Pourquoi utiliser cet outil ?

  • Read text fields hidden in hex dumps and traces
  • Prepare hex payloads for APDUs, sockets and test data
  • See exactly how many bytes a string takes in UTF-8
  • Instant conversion in your browser
⭐

Fonctionnalités

⇅

Both directions

Text to hex and hex to text, with one-click swap.

🌐

UTF-8 or Latin-1

Multi-byte Unicode or classic one-byte-per-character encoding.

⚙️

Output options

No separator, space or colon between bytes; upper or lower case.

🧹

Tolerant input

Spaces, colons, line breaks and 0x prefixes are ignored.

🛠️

Mode d'emploi

1

Pick a direction

Text → Hex or Hex → Text.

2

Choose encoding

UTF-8 or ASCII / Latin-1.

3

Type or paste

The result updates as you type.

4

Copy

Copy the output or swap it back to the input.

🤔

Questions fréquentes