Tools
English

Neogie Base58 · Developers and SEO

Base58 and Base58Check Encoder and Decoder

Text or files to Base58 and back, with the Base58Check checksum if you want it.

Settings

Everything happens in your browser: nothing you type is sent.

What is Base58 for?

Base58 rewrites bytes using 58 letters and digits. Compared with Base64, it drops the + and / signs, as well as the characters that are easily confused when read: zero, capital O, capital I and lower-case l. A code can be selected with a double click and copied by hand with fewer mistakes.

It was born with Bitcoin, to write addresses and keys; it also shows up in short identifiers and photo URLs.

The three alphabets

  • Bitcoin: the digits 1 to 9, then upper-case letters, then lower-case letters. It is the most widespread.
  • Flickr: the same characters, with lower case before upper case.
  • XRP (Ripple): a shuffled order, in which the letter r stands for zero.

Base58Check

Base58Check appends to the data the first four bytes of a double SHA-256. When the box is ticked, the checksum is added during encoding and verified during decoding: a copying mistake is then almost always detected. The details show the version byte, the data and the checksum.

The tool checks how a code is written, not whether an account exists or a transaction is valid.

Limits

Base58 treats the data as a single large number: computing time grows with the square of the size. The tool accepts up to 10,000 bytes, which is plenty for keys, hashes and identifiers.

Frequently asked questions

Does Base58 encrypt my data?

No. It is a notation that anyone can decode. A private key written in Base58 is still a secret in plain sight.

Can I paste a private key here?

The calculation runs in your browser and nothing is sent. To be safe, still only handle a key that protects money on a secure device, preferably offline.

What do the 1s at the start of a code mean?

With the Bitcoin alphabet, each zero byte at the start of the data becomes a 1.

Why does the size not follow a fixed rule?

Because 58 is not a power of two. Expect about 37% more characters than bytes.

Similar tools

Neogie SnippetSERP Snippet Preview ToolType a title and a description: the simulated result shows where they will be cut off. Neogie Base64Base64 Encoder and Decoder: Text, Files and JWTType on one side, the result appears on the other. Text, files and JWT tokens, with nothing uploaded. Neogie CRC32CRC-32 Calculator for Text and FilesThe checksum of a text as you type, or that of a file you want to compare. Neogie FileDiffCompare two files or folders: text and bytesDrop two files or two folders: differences appear at once, by line for text and by byte for everything else. Neogie BinaryBinary Translator: Text to Binary and BackType a message to see it in 0s and 1s, or paste binary to read it. Neogie HexText to Hex and Hex to Text ConverterType text to see its bytes, or paste hexadecimal to get the text back. Neogie PunycodePunycode Converter for Internationalized Domain Names (IDN)Turn a domain name with accents or other scripts into its “xn--” form, and back. Neogie Ascii85Ascii85, Z85 and Base85 Encoder and DecoderText or files to Base85 and back: five characters for every four bytes. Neogie Base32Base32 Encoder and DecoderText or files to Base32 and back, with the three most used alphabets. Neogie URLURL Encoder and Decoder (Percent-Encoding)Type on one side, the other fills in: addresses, parameters and form data, with every part spelled out. Neogie EntitiesHTML Entity Encoder and DecoderShow code or special characters without breaking the page: the result follows your typing. Neogie CSSCSS Formatter, Checker and MinifierPaste your style sheet: it is tidied up or compacted, and errors are reported. Neogie HTMLHTML Formatter, Checker and MinifierPaste your code: it is indented or compacted instantly, and structural errors are reported. Neogie JSONJSON Formatter and Validator OnlinePaste your JSON: it is checked and tidied up instantly, with the line and column of every error. Neogie SQLSQL Formatter Online: Indent and MinifyPaste a one-line query: it comes out split into clauses, ready to review. Neogie XMLXML Formatter and Validator OnlinePaste your XML: it is checked and indented instantly, with the line and column of the first error. Neogie MetaMeta Tag and Open Graph GeneratorFill in the fields: the preview and the code to paste into your page update instantly. Neogie RobotsRobots.txt Generator and TesterBuild the rules for search engine crawlers, then check which addresses they can visit. Neogie SitemapXML Sitemap Generator from a URL ListPaste your page URLs: your XML sitemap is ready to download. Neogie RegexRegex Tester Online: JavaScript Regular ExpressionsType a pattern and some text: matches and their groups are colored as you type.