Text · Converter

Base58 encoder and decoder.

Encode text or hex bytes in Base58, the Bitcoin alphabet that leaves out 0, O, I and l. Hello World! becomes 2NEpo7TZRRrLZSi2U. Decode it back just as easily.

Runs in your browserNothing is uploaded

Advertisement

Input

Result

Enter a value to convert it.

Advertisement

How it works

Base58 turns bytes into a short string using 58 characters: the digits 1 to 9, then A to Z and a to z, with the look-alike characters 0 (zero), O (capital o), I (capital i) and l (lowercase L) removed. It has no +, / or =, so a Base58 string is safe to double-click-select and to read aloud. It was designed for Bitcoin addresses and is also used for IPFS content IDs and some other identifiers.

The algorithm reads the whole byte string as one big-endian number and writes it in base 58, so it is not a block encoding like Base64. One extra rule: each leading zero byte becomes a leading 1 (the first character of the alphabet), so 00 00 01 encodes as 112 and decodes back to the same three bytes. That is why Base58 strings starting with 1 are common in legacy Bitcoin addresses.

This page implements plain Base58, the Bitcoin alphabet. It does not add or verify the 4-byte checksum of Base58Check, so it will decode a valid address to its bytes but cannot tell you whether the checksum is correct. Ripple and Flickr use differently ordered alphabets and will not match. Do not use Base58 to protect secrets: it is an encoding, not encryption.

Worked examples

Base58 examples (Bitcoin alphabet)
InputResult
Hello World!2NEpo7TZRRrLZSi2U
hello worldStV1DL6CwTryKyV
hex 00 00 01112
hex 612g
hex FF5Q

For standard encodings see Base64 and Base32. To see bytes as hex, use text to hex; for any base from 2 to 36, the number base converter.

Sources: The Base58 Encoding Scheme (IETF Internet-Draft, draft-msporny-base58, expired); RFC 4648: The Base16, Base32, and Base64 Data Encodings (for comparison) Retrieved November 2026.

Advertisement

Base58 encoder and decoder FAQ

What is Base58?

A binary-to-text encoding that uses 58 characters and drops look-alikes (0, O, I, l) and symbols like + and /. It is best known from Bitcoin addresses.

Why does Base58 start with 1 so often?

Each leading zero byte is written as the character 1, the first symbol of the alphabet. Legacy Bitcoin addresses begin with a zero version byte, so they start with 1.

What is the difference between Base58 and Base58Check?

Base58Check appends a 4-byte double-SHA-256 checksum before encoding. This page does plain Base58 only and does not check checksums.

Is Base58 encryption?

No. Anyone can decode it. It only makes bytes printable.

Why does decoding fail with "invalid character"?

The input contains 0, O, I, l or another character outside the alphabet. Check for a copy error; those four are deliberately excluded.