Conversor Hexadecimal
Converta strings hexadecimais para texto, decimal e binário — ou codifique texto em hexadecimal — no seu navegador.
Hexadecimal is the lingua franca of low-level computing. Memory addresses, colour values, byte sequences in network packets, cryptographic hashes, and file magic numbers are all conventionally written in hex. Understanding what a hex string actually contains — as text, as a decimal number, or as a binary sequence — is a daily task for systems programmers, security researchers, and anyone debugging at the byte level.
This tool converts hex input to text, decimal, and binary simultaneously. Paste a hex dump from Wireshark, a colour code from a design file, a hash value from a certificate, or a raw byte sequence from a protocol specification, and immediately see what it contains in every useful representation — without writing a one-liner in Python or opening a calculator.
Como usar o Conversor Hexadecimal online
- 1
Cole uma string hexadecimal ou texto
Cole uma string hexadecimal para decodificá-la como texto UTF-8, decimal e binário. Ou digite texto simples para ver sua representação de bytes hexadecimais.
- 2
Remoção automática de delimitadores
A ferramenta remove automaticamente prefixos 0x, espaços e dois pontos e exibe um aviso para que você saiba que a entrada foi limpa.
- 3
Copie qualquer saída
Todas as representações são atualizadas simultaneamente conforme você digita. Copie a saída que precisar.
How Hexadecimal Representation Works
Hexadecimal is base 16, using the digits 0–9 and letters A–F (or a–f). Each hex digit represents exactly four bits (a nibble), and two hex digits represent one byte — making hex a compact, human-readable way to display binary data where every byte maps to a predictable two-character group. This alignment with byte boundaries is why hex is preferred over decimal for raw binary inspection: `0xFF` is immediately recognisable as a fully set byte, while its decimal equivalent 255 gives no immediate visual clue.
Converting hex to text interprets each pair of hex digits as a byte value and maps it through an encoding — typically ASCII or UTF-8. Converting to decimal treats the entire hex string as a big-endian integer and computes its decimal value. Converting to binary expands each hex digit to its four-bit binary equivalent.
Por que usar o Conversor Hexadecimal do FileCrank?
- ✓ Remove automaticamente prefixos 0x, espaços e dois pontos da entrada hexadecimal.
- ✓ Mostra texto, decimal e binário simultaneamente.
- ✓ Suporta decodificação UTF-8 com caracteres de substituição para bytes inválidos.
- ✓ Funciona inteiramente no seu navegador — nenhum dado é enviado a qualquer servidor.
Recursos e Especificações
Perguntas frequentes
Quais caracteres são válidos em uma string hexadecimal?
Apenas dígitos 0–9 e letras A–F (insensível a maiúsculas). Espaços, prefixos 0x e dois pontos são removidos automaticamente. Qualquer outro caractere é sinalizado como inválido.
Por que a decodificação da minha string hexadecimal produz caracteres ilegíveis?
Os bytes hexadecimais representam dados não imprimíveis ou não-UTF-8. Arquivos binários, dados criptografados e certas codificações produzem hexadecimal que não pode ser decodificado como texto UTF-8 legível.
Qual a diferença entre essa ferramenta e bin2hex?
Essa ferramenta opera em strings de texto legíveis por humanos e valores numéricos. bin2hex opera no nível de bytes brutos — cole um payload binário como bytes codificados em hexadecimal e veja um dump hexadecimal.
Posso converter um código de cor hexadecimal para valores RGB aqui?
Não diretamente — essa ferramenta converte strings hexadecimais para texto e números decimais. No entanto, você pode interpretar manualmente os três pares de bytes: FF0000 = vermelho 255, verde 0, azul 0.
Hex Converter vs. xxd vs. Python bytes.fromhex()
The `xxd` command-line tool is excellent for hex dumping files but requires terminal access and produces a canonical dump format rather than a targeted conversion. Python's `bytes.fromhex()` and `int(..., 16)` are concise but require a REPL. A browser-based hex converter is faster for interactive inspection of a hex value pasted from documentation, a debugger, or a chat message — especially when you want multiple output formats at the same time.
Ferramentas relacionadas
Conversor Binário
Converta binário para texto, decimal e hexadecimal — ou codifique texto em binário — com saída em tempo real.
Conversor ASCII
Pesquise códigos ASCII por caractere, decimal, hexadecimal, binário ou octal — veja todas as representações de uma vez.
bin2hex
Converta dados binários para strings hexadecimais e hex de volta para binário no nível de byte — como bin2hex() e hex2bin() do PHP.
O Conversor Hexadecimal do FileCrank decodifica strings hexadecimais para texto UTF-8, decimal e binário, e codifica texto em hexadecimal, com remoção automática de delimitadores, inteiramente no seu navegador.
Advertisement