IP331.com | Online Tools
HomeBase ConverterBase58 to Decimal Converter

Base58 to Decimal Converter

Convert base58 encoded strings (Bitcoin-style) to decimal with detailed step-by-step derivation

Input Base58 String

Base58 to Decimal Conversion Principle

① Base58 uses: 123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz
② Each character maps to value 0-57 (1=0, 2=1, ..., z=57)
③ Expand by place value: sum(d_i × 58^i) where i = position from right

Base58 encoding, popularized by Bitcoin, avoids easily confused characters and produces human-readable strings.

Base58 excludes 0 (zero), O (uppercase o), I (uppercase i), and l (lowercase L) to prevent confusion. Only use allowed characters.

What Is Base58 to Decimal Conversion?

Base58 to decimal conversion transforms a base58 encoded string into a decimal number by expanding each character's value by its positional weight (58^n).

Base58 Character Set

123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz (58 characters total, no 0, O, I, l)

Character Mapping

'1' → 0, '2' → 1, ..., '9' → 8, 'A' → 9, ..., 'Z' → 32, 'a' → 33, ..., 'z' → 57

Place Value

Rightmost digit is 58^0, next is 58^1, then 58^2, etc. Multiply each digit by its weight and sum all terms.

Bitcoin Use

Base58Check (base58 with checksum) is used for Bitcoin addresses, private keys, and other cryptocurrency identifiers.

💡 Teaching Example: Convert base58 'z' to decimal. 'z' maps to value 57. Place value is 58^0 = 1. So 57 × 1 = 57. Thus base58 'z' = decimal 57.

Applications

Bitcoin Addresses Cryptocurrency Encoding Systems Blockchain Computer Science

Frequently Asked Questions

What is base58 encoding?
Base58 is a binary-to-text encoding used primarily in Bitcoin. It uses 58 characters: 123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz, avoiding easily confused characters like 0, O, I, l.
How do I convert base58 to decimal?
Convert base58 to decimal by expanding each digit by its place value (58^n). Start from the rightmost digit as 58^0, then sum all terms. Each base58 character maps to a value 0-57.
Why is base58 used in Bitcoin?
Base58 avoids ambiguous characters (0, O, I, l), is compact, and double-click selects the entire string, making it ideal for Bitcoin addresses and cryptocurrency identifiers.
What characters are excluded from base58?
Base58 excludes 0 (zero), O (uppercase o), I (uppercase i), and l (lowercase L) because they are easily confused with each other in many fonts.

More Base Converter Tools

Free online calculators and tools covering mathematics, unit conversion, text processing, and daily life. Accurate, fast, mobile-friendly, and completely free to use.

© 2026 IP331.com — Free Online Tools. All rights reserved.

About · Contact · Privacy Policy · Cookie Policy · Terms of Use · Disclaimer · Sitemap