UTILS.
Private by default
58

Base58 Encoder/Decoder

Encode and decode text using the Bitcoin Base58 alphabet, with leading-zero handling.

Your files stay on this device

Files are processed in your browser, never uploaded. The site downloads code and assets to run the tools. No accounts or trackers.

Use Download to save this tool as one HTML file for offline use.

Privacy →
— output appears here —

Try a worked example

Example

Enter Hello and choose Encode to get 9Ajdvzr. Paste 9Ajdvzr into the input and choose Decode to recover Hello. Letter case matters.

Keep in mind

This tool encodes UTF-8 text using the Bitcoin Base58 alphabet. It does not add or verify a Base58Check checksum. Decoding arbitrary binary data as text can produce replacement characters.

About this tool

Convert between text and Base58 using the Bitcoin alphabet, computed with big-integer base conversion on the UTF-8 bytes. It all runs in your browser.

Encode and Decode run when you press the button, not as you type. Decoded bytes are always read as UTF-8 text, so binary data such as a key shows replacement or control characters, and no checksum is checked or removed. Spaces around the input are trimmed, but inner spaces and characters outside the alphabet give a not-valid message.

Frequently asked questions

Which alphabet is used?
The Bitcoin Base58 alphabet, which omits the ambiguous characters 0, O, I and l to make values easier to read and transcribe.
Does it handle leading zero bytes?
Yes. Leading zero bytes are preserved as leading '1' characters, matching the standard Base58 convention so values round-trip exactly.
Why does decoding look garbled?
The bytes are shown as UTF-8 text, so Base58 that encodes binary data is not readable.
Is it case-sensitive?
Yes. Upper- and lowercase letters are different digits, and 0, O, I and l are rejected.

More tools