RevealTheme logo

Base32-encoder en -decoder

Codeer en decodeer Base32-tekenreeksen: ze worden gebruikt in TOTP-geheimen, DNS-records en hoofdletterongevoelige identificatoren.

Hoe u deze tool gebruikt

  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.

Wat is de Base32-encoder en -decoder?

Base32 codeert binaire gegevens met 32 alfanumerieke tekens (A-Z, 2-7). Anders dan Base64 maakt het geen onderscheid tussen hoofd- en kleine letters en vermijdt het visueel verwarbare tekens (0/O, 1/I/l), waardoor het geschikt is voor met de hand geschreven of gesproken overdracht. Het wordt vooral gebruikt in geheime sleutels voor 2FA en DNS-records.

Veelvoorkomende toepassingen

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

Veelgestelde vragen

Waarom Base32 in plaats van Base64?
Base32 is minder compact (8 tekens per 5 bytes tegenover 4 tekens per 3 bytes) maar maakt geen onderscheid tussen hoofd- en kleine letters: het is voor mensen eenvoudiger over te schrijven.

Gerelateerde tools