Text to Binary, Octal, Decimal & Hex Converter
NOVOConvert text to binary, octal, decimal or hex bytes and back, with UTF-8 support, or convert integers between bases 2 to 36, in your browser.
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.
7 characters · 10 bytes in UTF-8
Exemplos rápidos
Entradas típicas e os resultados que esta ferramenta gera.
Visão geral
Text to Binary, Octal, Decimal & Hex Converter turns any text into the numbers of its bytes and turns those numbers back into text. Letters, accents and emoji all work, because the text is encoded as UTF-8 first: a plain letter is one byte, é is two bytes and 😀 is four.
Developers, students and anyone reading a hex dump can choose the number system, the separator (space, comma, new line or none), padding and a 0x, 0b or 0o prefix. A second mode converts a whole integer between any two bases from 2 to 36 with exact big-number arithmetic.
Everything runs in your browser, so the text you convert is never uploaded. If a number is not valid for the chosen base or a byte is above 255, the message names the offending token.
Por que usar esta ferramenta?
- UTF-8 aware: emoji and accents convert correctly
- Both directions with clear errors
- Separator, padding and prefix options
- Exact big integers in bases 2 to 36
- Private: runs in your browser
Recursos
Both directions
Encode text to numbers or decode numbers back to text, and swap with one click.
UTF-8 bytes
Characters outside ASCII become two to four bytes, shown exactly as stored.
Format options
Choose space, comma, new line or no separator, pad bytes and add a 0x, 0b or 0o prefix.
Bases 2 to 36
Number mode converts integers of any size with BigInt and lists common bases.
Named errors
Invalid digits, bytes above 255 and broken UTF-8 are reported with the offending token.
Copy result
Copy the converted text or numbers with one button.
Como usar
Pick a mode
Use Text ↔ bytes for text, or Number bases 2–36 for converting an integer.
Choose the system
Select binary, octal, decimal or hexadecimal, then the separator and other options.
Type or paste
Enter text to encode, or switch to Numbers → text and paste bytes separated by spaces or commas.
Copy the result
Check the output box and press Copy result.