Text to Base58
Convert text to Base58 encoding - widely used in Bitcoin and Blockchain technology
What Base58 encoding is for
Base58 turns data into a compact string using 58 characters. It takes the alphanumeric set and removes the ones people confuse when reading or typing: zero, capital O, capital I and lowercase l. It also avoids plus and slash, so the result can be double-clicked to select and dropped into URLs without escaping. That combination is why it appears in Bitcoin addresses, IPFS identifiers and short IDs. This tool encodes any text you type into that format.
Encoding steps
- Enter or paste your message into the Input Text field.
- Click Encode to Base58.
- The Base58 Result card shows the encoded string. Two figures sit below it: Input Bytes, the size of your text in UTF-8, and Alphabet Style, which always reads Bitcoin.
- Press Copy Result to copy the string. Changing the input hides the old result until you encode again.
How the encoding is calculated
- The text is first converted to UTF-8 bytes, so accented characters and emoji work and count as several bytes.
- The whole byte sequence is treated as one large number and rewritten in base 58 using the alphabet 123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz.
- Any leading zero bytes in the input are preserved as leading 1 characters in the output.
Example situations
- Experimenting with the format while following a blockchain or cryptography tutorial.
- Making a short human-friendly token from a small piece of text for a prototype.
- Checking that a Base58 routine in your own code matches a reference.
- Teaching how different bases represent the same data.
Limitations and advice
Base58 is not a checksummed format here. Bitcoin addresses use Base58Check, which adds a version byte and a four-byte checksum; this page does not add those, so the output is plain Base58 and not a valid address. The algorithm does big-number arithmetic on every byte, so very long inputs are slower than short ones, and the result length is not fixed to a multiple of anything. As with all encodings, it provides no secrecy. There are no paste, clear or download buttons here, so use the standard keyboard shortcuts for the input and the Copy Result button for the output. To reverse the encoding, use the Base58 to Text decoder. The encoding runs as JavaScript in your browser page.
Related Tools
Related Tools