What is Base58?

Base58 writes binary data as text with 58 characters: the digits 1 to 9, the capital letters A to Z without I and O, and the small letters a to z without l. It leaves out zero, capital O, capital I and small l because they look alike in many fonts, and it has no +, / or =, so a double-click selects a whole Base58 string. Bitcoin introduced it, and you meet it in Bitcoin addresses that start with 1 or 3, private keys exported from Bitcoin wallets, IPFS content IDs that start with Qm and Solana addresses.

You'd check Base58 text when you copy it between apps, build a form or an API that receives it, or test code that encodes and decodes it.

Tool description

Type or paste text into the Base58 field, and the result shows as you type: "Base58 is valid" or "Base58 is not valid". Spaces and line breaks around the text are ignored. The page has no settings: it checks against the Bitcoin alphabet above.

What passes and what fails

  • Passes: text of any length made only of the 58 characters, such as Cn8eVZg, which is hello in Base58, or TcMcqscybhLxpcmNtcx, which is Happy birthday
  • Fails: a zero, capital O, capital I or small l: lemonade, Oak and Ice fail, while Lemonade, oak and ice pass
  • Fails: spaces, hyphens and underscores inside, and the +, / and = of Base64
  • Fails: letters with accents and letters of other alphabets

Good to know

  • Base58 has no structure to check beyond its characters: any text made of them stands for some bytes, so plain words such as Picnic pass too.
  • The check doesn't look at checksums. Bitcoin addresses and keys carry one, so an address with a mistyped character still passes here, as long as that character is in the alphabet. The Bitcoin Address Validator checks the checksum as well.
  • Newer Bitcoin addresses that start with bc1 use another encoding, Bech32, so whether they pass here says nothing about them.

Features

  • Checks text against the Base58 alphabet of Bitcoin
  • Flags 0, O, I and l, the characters Base58 leaves out
  • Ignores spaces and line breaks around pasted text
  • Runs in your browser, so nothing you type is sent anywhere