Omnikit
DevFilesMoneyAll tools
Ctrl K
Dev toolsFile toolsMoney calculatorsAll tools
HomeDeveloper toolsBase32 and Base58 Encoder and Decoder
EnglishالعربيةবাংলাDeutschEspañolFrançaisPolskiPortuguêsРусский

Base32 and Base58 Encoder and Decoder

dev

Encode or decode Base32 (RFC 4648, hex, Crockford) and Base58 for text or hex bytes

Runs in your browser. Nothing you type is sent anywhere. Checked against sources on 16 Oct 2026.

Base32 writes every 5 bits as one of 32 letters and digits, so 5 bytes become 8 characters, padded with = to a multiple of 8. Base58 writes bytes as one big number in 58 symbols that avoid look-alikes. This tool encodes and decodes both, for text or hex bytes, in your browser.

Next:
  • Base64 Encode & Decode Text and files to Base64 and back, with URL-safe mode and image preview
  • Hash Generator MD5, SHA-1, SHA-256, SHA-384 and SHA-512 of text or files, with checksum compare

How to encode or decode Base32

1

Choose Encode or Decode, then the alphabet: Base32, Base32hex, Crockford or Base58.

2

Type or paste the text; to encode raw bytes, switch the input to hex.

3

The result appears as you type. Decoded bytes show as text when they are UTF-8, and as hex otherwise.

4

Press Copy, or Swap to send the result back through the other way.

About Base32 and Base58 Encoder and Decoder

Base64 is not the only way to write bytes as text. Base32 uses fewer, unambiguous symbols and survives case-insensitive systems, which is why TOTP secrets and many file systems use it; Base58 is shorter and avoids characters that look alike, which is why Bitcoin and IPFS chose it.

The four alphabets.

Alphabet Symbols Padding Typical use
Base32 (RFC 4648 §6) A-Z, 2-7 = to 8 TOTP secrets, DNSSEC NSEC3
Base32hex (RFC 4648 §7) 0-9, A-V = to 8 Sortable IDs
Crockford Base32 0-9, A-Z without I L O U none ULIDs, human-typed codes
Base58 (Bitcoin) 1-9, A-Z, a-z without 0 O I l none Bitcoin addresses, IPFS CIDs

Encoding. Text is encoded as its UTF-8 bytes. Switch the input to hex to encode raw bytes instead, such as a hash or a key; spaces, colons and a 0x prefix are ignored.

Decoding. Whitespace is ignored, and for Base32 lower case and missing padding are accepted. Crockford decoding also reads I and L as 1, O as 0, and skips hyphens, as its specification asks. The decoded bytes are shown as text when they are valid UTF-8 and as hex otherwise, and Show as hex forces hex. A text that does not decode gets a precise reason: the character and position that do not belong, misplaced padding, an impossible length, or a final character with stray bits.

Base58 and zeros. Base58 treats the bytes as one large number, so each leading zero byte is written as 1 to keep it.

Every alphabet was checked against published vectors: RFC 4648's own table, Bitcoin Core's 21 Base58 test pairs, and Crockford's symbols mapped from Base32hex. Nothing you type leaves the browser.

Frequently asked questions

How do I decode a Base32 string?

Choose Decode and Base32, then paste the text; spaces, missing = padding and lower case are all accepted. The bytes appear as text when they form valid UTF-8, or as hex when they do not, such as a TOTP secret. If the text fails, the tool says which other alphabets would decode it.

What is the difference between Base32, Base32hex and Crockford?

All three turn every 5 bits into one of 32 symbols. RFC 4648 Base32 uses A to Z and 2 to 7. Base32hex uses 0 to 9 and A to V, so encoded text sorts in the same order as the bytes. Crockford's version drops I, L, O and U to avoid misreading and adds no padding.

Why does Base32 end with = signs?

Base32 works in groups of 5 bytes, which become 8 characters. When the last group is shorter, RFC 4648 pads the text with = up to a multiple of 8, so 1 byte gives 2 characters and 6 = signs. Padding can be switched off, and decoding accepts text with or without it.

What is Base58 used for?

Base58 writes bytes with 58 symbols, leaving out 0, O, I and l because they look alike, and adds no punctuation, so a value can be copied by hand or selected with a double click. Bitcoin addresses, IPFS content IDs and many short identifiers use the Bitcoin alphabet that this tool follows.

Why do Base58 strings start with 1?

Base58 converts the bytes as one large number, which would lose zero bytes at the front, so each leading zero byte is written as a separate 1, the first symbol of the alphabet. A Bitcoin address starting with 1 begins with a zero version byte for exactly this reason.

Is my text uploaded?

No. Encoding and decoding run in your browser with no request to any server, and nothing you type is stored, so secrets such as TOTP seeds stay on your device. Close the tab and nothing remains.

Sources

  • RFC 4648, The Base16, Base32, and Base64 Data EncodingsBase32 (§6), Base32hex (§7), padding and the §10 test vectors
  • Douglas Crockford, Base32The 32 symbols and the decoding of I, L, O and hyphens
  • Bitcoin Core, base58.cpp and base58_encode_decode.jsonThe Base58 alphabet, leading zeros as 1, and the test vectors

Last verified 16 October 2026.

Rates and rules change; check the source before you rely on a figure.

Still stuck? Ask about Base32 and Base58 Encoder and Decoder and anybody who knows can answer. No account needed.

Common uses

  • Base58 Encoder and DecoderEncode text or hex bytes to Base58 with the Bitcoin alphabet, or decode Base58 back

Same job, other tools: Base64 Decode – Turn Base64 back into text or a downloadable file · Base64 Encode – Turn text or a file into Base64.

On the related tools: TSV to JSON – Convert tab-separated values, such as a paste from Excel, into JSON.

Related tools

All developer tools
Base64 Encode & DecodeText and files to Base64 and back, with URL-safe mode and image previewUnix Timestamp ConverterUnix timestamps to dates and dates to timestamps, in any time zoneJSON to TypeScriptGenerate TypeScript interfaces or types from a JSON sampleCSV to JSONConvert CSV to JSON and JSON to CSV, with a table previewYAML to JSONConvert YAML to JSON and JSON to YAML, with anchors resolvedURL Encoder / DecoderPercent-encode or decode text and URLs, and see every part of a linkColor ConverterHEX, RGB, HSL, HWB, OKLCH and CMYK in both directions, with a contrast checkNumber Base ConverterBinary, octal, decimal, hex and any base to 36, exact at any size, with two's complement
Was this tool helpful?
Omnikit

Small jobs, done in your browser. Free, fast and private. Files are never uploaded.

Files

  • Compress Image
  • Image to PDF
  • Merge PDF
  • Compress PDF
  • PDF to Word
  • Word to PDF

Dev

  • JSON Formatter & Validator
  • Base64 Encode & Decode
  • JWT Decoder, Verifier & Encoder
  • Password Generator
  • UUID Generator
  • Unix Timestamp Converter

Money

  • SIP Calculator
  • EMI Calculator
  • GST Calculator
  • FD Calculator
  • PPF Calculator
  • Lumpsum Calculator
EnglishالعربيةবাংলাDeutschEspañolFrançaisPolskiPortuguêsРусский
GuidesQuestionsAboutHow we checkLaw library (beta)PrivacyTermsDisclosureContactMore: Exam practice (UGC NET Paper 1)Runs in your browser. Nothing is uploaded. © 2026 Omnikit (theomnikit.com)