⚡
usefultools.dev
A↔0x

ASCII Hex Converter (Text ↔ Hex)

NOVO

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

Funciona 100% no seu navegador — o que você insere nunca é enviado nem armazenado nos nossos servidores.

Esta ferramenta ainda não está totalmente traduzida, por isso parte do texto continua em inglês. A ferramenta funciona da mesma forma em todos os idiomas.

⚡

Exemplos rápidos

Entradas típicas e os resultados que esta ferramenta gera.

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
📖

Visão geral

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.

Por que usar esta ferramenta?

  • 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
⭐

Recursos

⇅

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.

🛠️

Como usar

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.

🤔

Perguntas frequentes