01What is Base58 Encoder?
Base58 is the text encoding Bitcoin made popular, and it also appears in IPFS content IDs, Solana keys and many short-link schemes. Its alphabet is the digits and letters minus four troublemakers: zero, capital O, capital I and lowercase l. Those look alike in many fonts, so leaving them out means a string can be copied by hand or read over the phone with fewer mistakes. There's also no + or /, so a Base58 string survives a double-click selection and sits safely in a URL. This tool encodes text to Base58 and decodes Base58 back to text, using the Bitcoin alphabet shown in the toolbar (1-9, A-H, J-N, P-Z, a-k, m-z). Unlike Base64 or Base32, Base58 doesn't work on fixed bit groups. The tool turns your text into UTF-8 bytes, reads all of them as one big number with JavaScript BigInt, and keeps dividing by 58. Each remainder picks a character. Leading zero bytes would vanish in that maths, so each one is written as a leading "1", the first character of the alphabet. A worked example: "hello world" encodes to StV1DL6CwTryKyV, and the single letter "a" (byte 97) becomes 2g, because 97 is 1 times 58 plus 39. Decoding runs the same steps backwards. Before it does any maths it checks every character and names the first bad one, so pasting 0OIl gives an error pointing at the 0. Base58 has no RFC. The usual reference is the encoder in the Bitcoin Core source code, and the IETF draft "The Base58 Encoding Scheme" describes the same alphabet. This tool implements plain Base58, not Base58Check. Base58Check adds a version byte and a 4-byte checksum from a double SHA-256 hash. That checksum is what lets wallets catch typos, and this tool neither adds nor verifies one. Some limits matter before you paste in a real address. The decoder always shows its result as text. A wallet address or public key is binary, so you'll get a mess of replacement characters, and there's no hex view to inspect the bytes instead. The decoder does not reject invalid UTF-8, so the garbage looks like output rather than an error. Very long inputs also slow down, since big-number division grows with length. The conversion runs entirely in your browser tab with no server call.
Backend and blockchain developers who need to check, build or teach Bitcoin-alphabet Base58 strings for IDs, keys and short codes. The tool runs entirely in your browser, so your data never leaves your device.
02How to use Base58 Encoder
- Choose the Encode or Decode tab at the top of the tool.
- Type or paste into the Text Input box (Encode) or the Base58 Input box (Decode). Character counts show above each box.
- Read the result in the Base58 Output or Text Output panel. Invalid characters show as an error message below the panels.
- Press Swap to move the output into the input and flip to the other tab, or Copy Output to copy it.
- Press Reset to clear the input.
03Worked examples
- Input:
hello world - Result:
StV1DL6CwTryKyV - The tool's preloaded decode example, run in the encode direction.
- Input:
Hello World! - Result:
2NEpo7TZRRrLZSi2U - Input:
a - Result:
2g - Byte 97 is 1 x 58 + 39, which picks the characters 2 and g.
- Input:
two NUL bytes followed by a - Result:
112g - Each leading zero byte becomes a leading 1.
- Input:
StV1DL6CwTryKyV (Decode) - Result:
hello world - Input:
0OIl (Decode) - Result:
Error: Invalid Base58 character: '0'. Base58 excludes 0, O, I, and l. - Validation stops at the first bad character.
04Common use cases
- Making short, readable invite or referral codes from a text ID where users might type the code by hand
- Checking whether a value pasted into a form contains only Bitcoin-alphabet Base58 characters, with the first bad character named
- Seeing how leading zero bytes become leading 1s before writing your own Base58 encoder in Go or Rust
- Round-tripping known test strings, such as "hello world" to StV1DL6CwTryKyV, while unit-testing an encoder library
- Explaining to a teammate why Base58 drops 0, O, I and l and why that matters for codes read aloud
- Decoding a Base58 string from a tutorial or log that you know started life as plain text
05Tips
- Base58 output is about 37 percent longer than the input bytes, so it's for keys and IDs, not for bulk data.
- If you need typo detection, use Base58Check. Plain Base58 has no checksum, so a mistyped character just decodes to different bytes.
- Ripple and Flickr use the same characters in a different order. A string from those systems will decode to the wrong bytes here.
- Decoding a real wallet address gives unreadable characters, not an error. That's binary data shown as text, not a broken address.
- In Decode mode, surrounding spaces are trimmed, but spaces inside the string count as invalid characters.
06Related concepts
Base58Check, Bitcoin address, Base64, BigInt, Binary-to-text encoding.
Frequently Asked Questions
What is Base58 Encoder?
Base58 Encoder is a free, browser-based developer tool on AIDToolStack. Encode and decode Base58 data It requires no installation or sign-up and works entirely in your browser.
Is Base58 Encoder free to use?
Yes. No sign-up, no fees and no usage cap.
Does Base58 Encoder store my data?
No. It runs in your browser; nothing is uploaded.