Base32 Encoder / Decoder (RFC 4648, Crockford)
NOVOBase32 encoder and decoder for RFC 4648, Base32hex and Crockford Base32. Encode text or hex bytes and decode with exact error positions, free 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.
Text is converted to UTF-8 bytes before encoding.
JBSWY3DPFQQFO33SNRSCC===
13 bytes → 24 characters
Exemplos rápidos
Entradas típicas e os resultados que esta ferramenta gera.
Visão geral
Base32 turns binary data into a string of 32 safe characters: the letters A to Z and the digits 2 to 7 in the standard RFC 4648 alphabet. Each 5 bytes become 8 characters, so the output is about 60% longer than the input, but it survives case-insensitive systems, file names and manual typing better than Base64.
You meet Base32 in TOTP secrets for authenticator apps, DNSSEC records, onion addresses and short IDs. This Base32 encoder and decoder supports the standard alphabet, Base32hex (which keeps sort order) and Crockford Base32 (which avoids the confusing letters I, L, O and U). Encode UTF-8 text or raw hex bytes, with or without "=" padding.
Decoding reports the exact position of an invalid character and explains a wrong length or misplaced padding. Everything runs locally in your browser; nothing you paste is uploaded.
Por que usar esta ferramenta?
- Three alphabets: RFC 4648, Base32hex and Crockford
- Encode text or raw hex bytes
- Clear errors with the invalid character position
- Checked against the RFC 4648 test vectors
- Runs offline in your browser
Recursos
Three alphabets
Standard Base32, Base32hex (RFC 4648 section 7) and Crockford Base32 with its forgiving decoding rules.
Padding on or off
Add "=" padding to a multiple of 8 characters or leave it out; decoding accepts both.
Text or hex input
Encode UTF-8 text or exact byte values typed as hex, such as a random TOTP key.
Precise errors
Invalid characters are reported with their position, plus a hint when the input looks like another alphabet.
Hex view of decoded bytes
Decoded output is shown as text and as hex; binary data that is not UTF-8 falls back to hex.
Round trip
Send the output back to the input to check that encoding and decoding match.
Como usar
Choose Encode or Decode
Pick the direction and the alphabet: Base32 (RFC 4648), Base32hex or Crockford.
Set the input format
When encoding, choose Text (UTF-8) or Hex bytes and toggle "=" padding.
Paste your data
The result updates as you type; errors show the position of the bad character.
Copy the result
Use Copy, or "Use output as input" to check the round trip.