File to Base58 & Base58 to File Converter
Encode files using Bitcoin Base58 or decode Base58 to bytes.
How to use
Hello World in UTF-8 encodes to JxF12TrwUP45BMd. Leading zero bytes are represented by leading 1 characters in Base58.
FAQ
Does Bitcoin Base58 conversion contact a network?
The page uses the Bitcoin alphabet to represent bytes locally. Encoding a file does not send it to a server or check a blockchain.
What is supported?
Files are limited to 8 MiB. The page uses the Bitcoin alphabet. Download saves encoded text or decoded binary bytes, depending on the mode.
Other Languages
References
How we make sure
We check this tool with the automated test suites linked below. Example checks are shown in their original language.
- Verification method
- Check the Bitcoin alphabet Hello World vector and preserve leading zero bytes across encoding/decoding. Decoder regressions cover retained Hex/Base64 source selectors and uploaded encoded text.
- Comparison reference
- Fixed Hello World → JxF12TrwUP45BMd vector and same @scure/base 2.0.0 inverse for leading-zero bytes.
- Verification scope
- Covers the Bitcoin alphabet, fixed text, leading zero bytes and selected pasted and uploaded inputs.
Test source and cases (select a file to read it)
-
completion-tools.test.js
- file-base58: Bitcoin alphabet vector and leading zero bytes
- File decoders treat input as encoded text regardless of the source byte selector
These checks cover the listed examples and boundaries, not every possible input. Round trips and checks using the same library are not independent verification.