LocalExcelTool
Get started

Base58 Decoder

Decode Base58 back to the original text.

Runs in your browserNo account neededFree

What is Base58 Decoder

This Base58 decoder restores the original text from a Base58 string. Characters outside the Bitcoin alphabet (like 0 or O) cause a clear error, which also helps catch copy-paste mistakes.

🔒 Everything runs in your browser. Nothing is uploaded.

What this tool actually does with your file

Where it runs
In your browser, on this page
Upload
None — the file never leaves your device
Offline
Works with the network disconnected

Length is not preserved, so the output must be inspected

Because the encoding is a base conversion, the decoded byte length depends on the numeric value rather than on the string length. Two Base58 strings of equal length can decode to different byte counts, which is unlike Base64 and Base32 and surprises people who expect a fixed ratio.

That also means a corrupted character changes the length as often as it changes a byte's value. If a decoded payload is one byte short or long, you are looking at a single wrong character rather than a truncated input.

Alphabet confusion produces garbage, not errors

Every character of Base64's alphabet is also a Base58 character except 0, O, I, l, + and /. So a Base64 string fed to a Base58 decoder usually decodes successfully into meaningless bytes. There is no error to catch; only the shape of the output tells you something is wrong.

The same applies across variants: Bitcoin's alphabet versus Flickr's differs in exactly the characters people rarely notice. When a decoded key or address is rejected downstream, the first thing to confirm is which alphabet produced the string, not whether the string is damaged.

Checksums are a separate layer

Base58 itself has no integrity check. Bitcoin addresses embed a four-byte double-SHA256 checksum inside the decoded payload, and that is what makes a typo detectable — the decode succeeds and the checksum fails. IPFS CIDs use a multihash prefix for the same purpose.

So a clean decode proves nothing about correctness. If the payload carries a checksum, verify it; if it does not, the only reliable check is round-tripping the value back to Base58 and comparing with the source character for character.

How to use it

  1. 1.Paste the Base58 string
  2. 2.Click Run
  3. 3.Read the decoded text

How Base58 Decoder works under the hood

Encoding tools convert between representations of the same bytes: Base64, percent-encoding, hex, HTML entities, Unicode escapes. A correct encoder is reversible; a lossy one silently changes the data.

  1. 1

    Get the exact bytes

    Text is encoded to UTF-8 bytes with TextEncoder first; binary input is read as an ArrayBuffer. Encoding the wrong byte sequence is the most common cause of a wrong result.

  2. 2

    Apply the encoding rule

    Each format has an exact specification: Base64 uses a 64-symbol alphabet with padding, percent-encoding escapes reserved characters as UTF-8 bytes.

  3. 3

    Decode back to verify

    Round-tripping the output back to the input is the only honest proof that an encoder is correct. The tool keeps the reverse path available on the same page.

  4. Processing pipeline

Base64 is not encryption

Base64 increases size by about a third and hides nothing: anyone can decode it. It exists to carry binary data through text-only channels such as JSON, email headers and data URLs. If you need confidentiality, use encryption with a key, not an encoding.

Where encoders break

Percent-encoding applied twice turns %20 into %2520; Base64 without padding fails strict decoders; UTF-16 input decoded as UTF-8 produces replacement characters that cannot be recovered. When output looks wrong, check the byte sequence before checking the tool.

Verify it yourself

Encoders are pure functions over bytes. Decode the output again and you should get the input back exactly.

  1. 1.Open DevTools on this page and switch to the Network tab
  2. 2.Keep the filter on Fetch/XHR and run the tool
  3. 3.Confirm no request carries your file — you should see only page assets and fonts

Frequently asked questions

Which characters are invalid?

Anything outside the Bitcoin alphabet — 0, O, I, l, +, / and so on — is rejected with a clear error.

Which characters are valid?

Digits 1-9, uppercase A-Z without O and I, lowercase a-z without l — 58 characters in total.

What this kind of conversion cannot keep

Encoding and hashing run through the browser's Web Crypto API or a pure-JavaScript implementation. The output is deterministic: the same input always produces the same digest, so you can verify a result against any other tool.

More in Encoding