Skip to content

Base58 Encoder & Decoder

Encode and decode Base58 in the Bitcoin, Ripple or Flickr alphabets.

Direction

Quick Tool Overview

The Base58 Encoder & Decoder handles the Bitcoin, Ripple and Flickr alphabets, including the leading-zero rule that a base change cannot express arithmetically and has to spell as literal leading characters.

What it does
Encodes and decodes Base58
You give it
Text, hex bytes or a Base58 string
You get back
The converted value in your chosen alphabet
Best for
Bitcoin addresses, IPFS CIDs and short identifiers
Developer Tools Free, unlimited use No sign-up Runs in your browser

About the Base58 Encoder & Decoder

Base58 is Base64 with the ambiguous characters taken out: no zero, no capital O, no capital I and no lowercase l, and no plus or slash. What remains is 58 characters that cannot be misread in a monospace font or mistyped from a handwritten note.

That is why it became the encoding for Bitcoin addresses, IPFS content identifiers and a lot of short-link schemes. Unlike Base32 and Base64 it is not a bit-packing but a change of numeric base, so it has to be computed with repeated division — which is also why leading zero bytes need special handling, each becoming one leading "1". Three alphabets are supported: Bitcoin, Ripple and Flickr, which order the same 58 characters differently.

Key features of the Base58 Encoder & Decoder

No ambiguous characters

The alphabet leaves out 0, O, I and l, so a value cannot be misread in a monospace font or mistyped from a note.

Leading zeros preserved

Each leading zero byte becomes one literal "1", which is the only way a base change can represent it — and the part naive implementations lose.

Three alphabets

Bitcoin, Ripple and Flickr order the same 58 characters differently, and each is available.

Helpful rejections

Pasting a string with a 0 or an O explains that the alphabet omits them deliberately, rather than just failing.

Hex or text input

Encode raw bytes written as hex, or ordinary text — whichever the value actually is.

How to use the Base58 Encoder & Decoder

  1. 1

    Pick a direction

    Encode text or hex to Base58, or decode a Base58 string back.

  2. 2

    Choose the alphabet

    Bitcoin is the default and by far the most common; Ripple and Flickr order the characters differently.

  3. 3

    Paste your input

    Invalid characters are named, including the ones the alphabet deliberately omits.

  4. 4

    Copy the result

    Take the output to your clipboard.

Frequently asked questions

The digit 0, capital O, capital I and lowercase l — because they are easy to confuse — plus the plus and slash characters, which have meaning in URLs and filenames.

Reviews of the Base58 Encoder & Decoder

What people who use the Base58 Encoder & Decoder think of it. Reviews come from visitors and are posted as written.

No ratings yet

Yours would be the first.

  • 5 0 reviews rated 5 stars
  • 4 0 reviews rated 4 stars
  • 3 0 reviews rated 3 stars
  • 2 0 reviews rated 2 stars
  • 1 0 reviews rated 1 star

Write a review

Used this tool? Your rating helps the next person decide.

Your rating

Plain text only — links, email addresses and HTML are not accepted. Your name and review are shown publicly; nothing else is collected. See the privacy policy.

0 reviews

Newest first

No reviews yet

Be the first to rate the Base58 Encoder & Decoder. It takes half a minute and no account.

Write the first review

More developer tools