Base58 Encoder and Decoder
Encode text or hex to Base58 and decode Base58 back to bytes, with the Bitcoin, Ripple, and Flickr alphabets and optional Base58Check.
Direction
Alphabet
Bitcoin is used by addresses and IPFS. Ripple and Flickr reorder the same 58 characters.
Byte format
Read your input as UTF-8 text or as a raw hex byte string.
Checksum
Add and verify a 4-byte checksum, the guard used by Bitcoin addresses and keys against typos.
Converted live as you type. Nothing leaves your browser.
How to encode and decode Base58 online
Choose a direction
Pick Encode to turn text or hex into Base58, or Decode to turn a Base58 string back into bytes.
Enter your input
Type or paste your value into the box and it is converted live as you type, with no button to press.
Set the options
Choose the alphabet, switch between text and hex bytes, and turn on Base58Check if your value carries a checksum.
Copy the result
Read the converted value and the byte count below, then copy it to your clipboard.
Why use this tool
Encode and decode in one place
Switch between turning bytes into Base58 and reading a Base58 string back into bytes without leaving the page. The result updates as you type.
Text or hex input
Encode plain UTF-8 text or a raw hex byte string, and view decoded output as readable text or as hex, whichever fits your data.
Three alphabets
Choose the Bitcoin alphabet used by addresses and IPFS, the Ripple alphabet, or the Flickr alphabet, and the tool re-encodes instantly.
Base58Check checksums
Optionally append a 4-byte checksum when encoding, and have it verified and stripped when decoding, the same guard Bitcoin addresses use against typos.
Leading zeros preserved
Leading zero bytes are kept as leading 1 characters in both directions, so addresses and keys round-trip exactly.
Runs entirely in your browser
Everything happens on your device; nothing is uploaded.
About this tool
This tool converts data to Base58 and Base58 back to data entirely in your browser. Base58 writes binary values using 58 letters and digits, leaving out the characters that are easy to confuse: the number zero, capital O, capital I, and lowercase L. That makes a Base58 string safe to read aloud, copy by hand, or drop into a URL, which is why it is used for Bitcoin addresses, IPFS content IDs, and many short identifiers. You can encode plain text or a raw hex string, and decode a Base58 value back to readable text or to a hex byte string.
The conversion is a base change over the raw bytes, so leading zero bytes are preserved as leading 1 characters and the value round-trips exactly in both directions. Switch the alphabet between the Bitcoin, Ripple, and Flickr variants to match the system you are working with. Turn on Base58Check to append a 4-byte checksum when encoding, or to verify and remove it when decoding, which is how wallets catch a mistyped address before it is used. Input outside the chosen alphabet is reported by pointing at the offending character rather than producing a wrong result.
Base58 is an encoding, not encryption, so anything written here can be read by anyone who decodes it. For the more common scheme used in data URIs and headers, use the Base64 encoder and decoder, for the RFC 4648 scheme used in one-time-password secrets there is the Base32 encoder and decoder, and to convert a single number between bases there is the number base converter. Everything runs on your device, so the keys and addresses you paste are never uploaded.
Frequently asked questions
- What is Base58?
- Base58 encodes binary data using 58 characters: the digits 1 to 9 and the letters A to Z and a to z, with the easily confused 0, O, I, and l removed. It is used for Bitcoin addresses, IPFS content IDs, and short identifiers because the result is compact and hard to mis-read. Like Base64, it is an encoding and not encryption.
- What is Base58Check?
- Base58Check appends a 4-byte checksum to your data before encoding, so a decoder can detect a mistyped or corrupted string. Turn it on to add the checksum when encoding, and to verify and remove it when decoding. If the checksum does not match, the tool tells you instead of returning wrong bytes.
- Can I encode hex, or only text?
- Both. Set the byte format to Text to encode UTF-8 text, or to Hex to encode a raw hex string such as a key or hash. When decoding, the same switch shows the result as readable text or as a hex byte string.
- Which alphabet should I use?
- Use the Bitcoin alphabet for Bitcoin addresses, IPFS, and most modern uses. The Ripple and Flickr alphabets use the same 58 characters in a different order and only work with systems that expect them. The tool re-encodes the moment you switch.
- How large an input can it handle?
- Base58 is designed for short values like addresses and keys, so this tool works on inputs up to about 10,000 characters. Longer input shows a message rather than freezing, since the base conversion grows quickly with length.
- Is my data uploaded anywhere?
- No. Encoding and decoding run entirely in your browser. The text, keys, or addresses you paste never leave your device and are not sent to a server.
Related tools
Base64 Encode & Decode
Encode text, files, and images to Base64, decode it back, and get a ready-to-use data URI.
Base32 Encoder and Decoder
Encode text to standard Base32 and decode Base32 back to text, following RFC 4648.
Number Base Converter
Convert a number between binary, octal, decimal, and hexadecimal, all four shown at once.
API Key Generator
Generate cryptographically random API keys and tokens in hex, base62, or base64url, with control over length, an optional prefix, and bulk output.
ASCII Table Reference
The full ASCII character set with decimal, hex, octal, binary, and HTML codes. Search by code, character, or name.
Atbash Cipher
Mirror the alphabet so A swaps with Z, B with Y, and so on. Atbash is its own inverse, so one field both encodes and decodes as you type.