RevealTheme logo

Conversor de ASCII para Hexadecimal

Converta texto em códigos hexadecimais ASCII e vice-versa. Cada caractere é convertido em seu valor hexadecimal de 2 dígitos.

Como usar esta ferramenta

  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').

O que é o Conversor de ASCII para Hexadecimal?

Cada caractere do seu texto corresponde a um número (ASCII para o latim básico, pontos de código Unicode para todo o restante). O hexadecimal é a forma compacta de representar esses números: 'A' é 65 em decimal, 41 em hexadecimal. Essa conversão é útil para depurar problemas de codificação de texto, trabalhar com protocolos binários ou construir sequências de escape.

Casos de uso comuns

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

Ferramentas relacionadas