Base58 Encoder

Output length—
Input characters—
Input check—

How Base58 Encoder is calculated: Encode: treat the bytes as one big number and write it in base 58 with the Bitcoin alphabet (no 0, O, I, or l); decode reverses it.

What is a Base58 encoder?

A Base58 encoder turns ordinary words into Base58 code — a string of letters and digits that never contains 0, O, I, or l — and turns Base58 code back into words. Type Hello and it gives you 9Ajdvzr. Paste 9Ajdvzr in and switch to decode mode, and Hello comes back. The default text on this page is Hello: 5 characters, 7 Base58 characters.

Base58 is the alphabet Bitcoin uses for wallet addresses, and it was designed for humans. The four confusing characters — zero, capital O, capital I, and small l — are left out, because 0 looks like O and I looks like l, and a wallet address copied wrong can send money to the wrong place. That is why Base58 is used where a code has to be read, typed, or printed: it is hard to misread, and there is no padding to forget.

This tool covers both directions. Encode mode treats the text as one big number and writes it in base 58 with the Bitcoin alphabet. Decode mode reads the number back into bytes. Everything runs in your browser — nothing is uploaded, nothing is stored, and there is no account to create. If you work with the more common encoding, a base64 encoder decoder does the same job with 64 characters.

How text becomes Base58: one big number

The method is simple, even if the arithmetic is not. Text is stored as bytes, and Base58 treats those bytes as one big number — Hello is the bytes 72, 101, 108, 108, 111, which as one number is 310,939,249,775. That number is then written in base 58, the same way a decimal number is written in base 10: divide by 58, keep the remainder, repeat. Each remainder picks a character from the alphabet, and the result is 9Ajdvzr.

There is no padding in Base58, which is one of its charms. Base64 pads its output with = signs and Base32 pads with = signs too, but Base58 has no padding at all — the output is exactly as long as the number needs. A leading zero byte is the one special case: it becomes a leading 1, so the length of the input is not lost. The counter above the output shows the character count and the output length, so you can see the ratio for any text you type.

Decoding is the same process in reverse. The tool reads each character back to its number — 9 is 8, A is 9, j is 42 — and builds the big number back up, then splits it into bytes. The first byte is 72, which is H. A hex text converter does the same job in base 16, where each byte needs exactly 2 characters instead of about 1.4 Base58 characters.

Encode vs decode: which mode to use

Encode mode is the one most people want. You have words and you need their Base58 form — for a wallet address, a code you have to type, or a system that only accepts Base58. Type or paste the text, and the Base58 appears instantly, with no padding and no special characters. The default Hello is the fastest way to see the format: seven characters, mixed capitals and small letters, no padding.

Decode mode is for the opposite job: you have a string of Base58 characters and you need the words behind it. Paste the Base58, switch the mode, and the text appears. This is the mode to use when a wallet, a QR code, or a friend hands you Base58 and asks what it says. It also works as a check on your own encoding — encode a word, copy the Base58, decode it, and the original word should come back exactly.

The two modes are exact inverses for normal text. Anything you can type on a keyboard — letters, digits, punctuation, spaces — survives the round trip unchanged. What does not survive is Base58 that was not made correctly: a character outside the alphabet, like 0, O, I, or l, makes the input invalid, and the tool says so instead of guessing. If your decode fails, check the characters first — a 0 that should be an O is the usual cause.

A worked example: Hello in Base58

Take the default text, Hello. It has 5 characters, so the bytes 72, 101, 108, 108, 111 form one big number, and that number written in base 58 is 9Ajdvzr — 7 characters. There is no padding, and no character in the output is a 0, an O, an I, or an l, which is the whole point of the alphabet.

Try a shorter one. A has 1 character, the byte 65, and encodes to 28 — 2 characters for 1 byte. Now decode it back: paste 28, switch to decode mode, and the tool returns A — 1 character, 2 Base58 characters. The round trip is exact, which is the simplest way to check that an encoding is correct.

A longer example: Hello, World! has 13 characters and encodes to 72k1xXWG59fYdzSNoA — 18 characters, with no padding at all. Compare that with Base64, where the same text becomes 20 characters with padding, and Base32, where it becomes 32 characters. Base58 is the shortest of the three, and the easiest to read out loud.

Who uses a Base58 encoder, and why

Bitcoin and crypto users are the biggest group. Wallet addresses are Base58 — a Bitcoin address starts with a 1 or a 3 and is written in this alphabet — and a quick encode or decode settles arguments about what an address actually holds. Anyone who copies an address by hand, reads one out over the phone, or prints one on paper is using Base58 without thinking about it.

Developers and hobbyists are the second group. Base58 shows up in IPFS content IDs, in short links, and in systems where an ID has to be typed by a human — and a quick conversion settles whether a string is valid Base58 at all. The alphabet is the giveaway: if a code contains a 0, an O, an I, or an l, it is not Base58, and this tool will tell you so.

Students are the third group. Base58 is taught in computer science courses alongside Base64 and hex, usually with Bitcoin as the example, and nearly every course asks students to convert a word by hand. This tool is the answer key: encode the word, check your hand calculation against it, and find the step where you went wrong. The tool on this page handles all of these uses: type, read, copy. It does not store anything, so an address typed here stays on your device.

Base58 encoder vs other text encoders

Base58 is one of several ways to write text as safe characters, and each has its place. A base64 encoder decoder writes each 3 bytes as 4 characters, so Hello becomes SGVsbG8= — 8 characters with padding, against the Base58 9Ajdvzr at 7 characters. Base64 is the tool for moving text through systems; Base58 is the tool for codes humans type.

A binary text generator writes each character as 8 binary digits, so Hello becomes 40 digits — much longer, and the form computers actually store. Base32 is the middle ground: a ASCII converter shows the same characters as decimal numbers, which is the form programmers read when they debug. Base58 sits between Base64 and Base32 in length, and ahead of both in readability.

The practical rule is simple. Use Base58 when a human has to read or type the code — a wallet address, a short link, a spoken ID. Use Base64 when a system has to move text safely. Use hex when you need to read bytes quickly. Use binary when you need to see what a computer stores. All four are the same idea — text written as something else — and knowing which one fits the job is most of the skill.

Common mistakes when working with Base58

The most common mistake is typing a 0, an O, an I, or an l. Base58 has none of them — the alphabet skips exactly those four characters — because they look like each other. A code copied by hand often has a 0 where an O should be, and the decode fails. Check the characters first: if the string has a 0, O, I, or l in it, it is not valid Base58.

Second: expecting padding. Base58 has no padding — no = signs at the end, ever. A decoder that expects Base64 padding will reject a Base58 string, and a Base58 string with = signs added to it is invalid. If a system rejects your code, check that nobody added padding to it.

Third: mixing up Base58 with Base64. The two look similar — both use letters and digits — but Base64 has + and / and padding, and Base58 has none of those. A string with a + or a / in it is Base64, not Base58, and feeding it to a Base58 decoder will fail. Check the characters before you blame the tool.

Fourth: assuming Base58 is encryption. It is not. Base58 is just another way of writing the same text, and anyone can decode it in seconds — this page does it for free. A Bitcoin address is public by design, and Base58 hides nothing. If a message needs to stay secret, Base58 will not keep it secret; it only makes it shorter and easier to type. Real secrecy needs a cipher or a password, not a change of base.

How to use this Base58 encoder

Using this Base58 encoder is simple. Type or paste your text into the box — Hello is already there as the default. Leave the mode on Encode, and the Base58 appears in the output box below, with the output length, the input character count, and the input check shown above it. Copy the output with the copy button, or select it by hand.

To decode, paste Base58 into the same box and switch the mode to Decode. The words appear in the output box. If the tool says Invalid, check that every character is in the Bitcoin alphabet, with no 0, O, I, or l — that fixes nearly every failed decode. If the text needs tidying first, a case converter can fix the capitalisation before you encode it.

Everything runs in your browser. No sign-up, no account, no data sent anywhere — your text never leaves your device, and the page works offline once it has loaded. Try it with something real before you need it: type your name, read its Base58, decode it back, and watch the round trip land exactly. Once you have done it twice, converting text to Base58 stops feeling like a puzzle and starts feeling like reading.

Frequently Asked Questions

Base58 is the alphabet Bitcoin uses for wallet addresses. It leaves out 0, O, I, and l because they look like each other, so an address copied by hand or read out loud is hard to get wrong. It is also used for IPFS content IDs and short links — anywhere a code has to be read or typed by a human.

Hello has 5 characters and encodes to 9Ajdvzr — 7 Base58 characters, with no padding. A longer text, Hello, World!, encodes to 72k1xXWG59fYdzSNoA — 18 characters. Base58 is shorter than Base64 and Base32 for the same text, and it never needs = padding.

Yes. Switch the mode to Decode, paste the Base58, and the text appears. 9Ajdvzr decodes to Hello. The input must use only the Bitcoin alphabet — a 0, O, I, or l makes it invalid, and the tool says so instead of guessing.

No. Base58 is an encoding, not encryption — it is just the same text written differently, and anyone can decode it in seconds. A Bitcoin address is public by design. If a message must stay secret, use a real cipher or a password, not Base58.

More free tools

More calculators and utilities from Sortrun — free, no sign-up.