RevealTheme logo

Codificatore e decodificatore Base32

Codifica e decodifica stringhe Base32: usate nei segreti TOTP, nei record DNS e negli identificatori che non distinguono maiuscole e minuscole.

Come usare questo strumento

  1. 1

    Choose 'Encode' to turn text into Base32, or 'Decode' to turn Base32 back into text, using the mode dropdown.

  2. 2

    Type or paste your input into the text box — UTF-8 text when encoding, or a Base32 string when decoding.

  3. 3

    Read the result in the gray output panel below; it updates instantly as you type, with no button to press.

  4. 4

    Select and copy the output text to use it elsewhere.

Che cos'è il codificatore e decodificatore Base32?

Base32 codifica i dati binari usando 32 caratteri alfanumerici (A-Z, 2-7). A differenza di Base64, non distingue tra maiuscole e minuscole ed evita i caratteri visivamente confondibili (0/O, 1/I/l), il che lo rende adatto alla trasmissione scritta a mano o pronunciata. È usato soprattutto nelle chiavi segrete di 2FA e nei record DNS.

Casi d'uso comuni

  • Inspecting a TOTP/2FA setup string by decoding the Base32 secret an authenticator app expects.

  • Encoding a short identifier into a case-insensitive form safe to drop into a DNS label or subdomain.

  • Hand-checking the output of a server library against a known-good Base32 implementation while debugging.

  • Producing tokens or codes meant to be read aloud or typed without confusing 0/O or 1/I/l.

  • Decoding a Base32 string copied from a config file or QR-code payload to see the underlying text.

  • Teaching or learning how bit-level encodings group data, by watching how input maps to 5-bit chunks.

Domande frequenti

Perché Base32 invece di Base64?
Base32 è meno compatto (8 caratteri ogni 5 byte rispetto a 4 caratteri ogni 3 byte) ma non distingue maiuscole e minuscole: è più facile da trascrivere per le persone.

Strumenti correlati