Start a project

Tool 80 of 100 · Encoding

Base32, Base58 & Ascii85 Encoder

Encode text, hex or a file in Base32, Base58, Ascii85 and more, or decode them back, with checksums for Base58Check and a ULID decoder.

Base32, Base58 & Ascii85 Encoder at a glanceIllustration: 1, Text or a file; 2, processed in your browser; 3, Base32, 58, 85 and more.Base32, Base58 & Ascii85 Encoder1Text or a file</>3Base32, 58, 85 and more2In yourbrowser
1 Text or a file 2 processed on your device 3 Base32, 58, 85 and more

Base32, Base58 & Ascii85 Encoder

Input

Output

Result

ULID

PartValue

The same bytes in every encoding

EncodingValueLength

01

What it does

Encodes and decodes Base32 (RFC 4648 and Crockford), Base58 with Base58Check, Ascii85, Z85, Base64url and Base36, and reads ULIDs.

  • Base32 and Base32hex (RFC 4648) and Crockford Base32
  • Base58 (Bitcoin and Flickr) with Base58Check checksums
  • Ascii85 and ZeroMQ Z85
  • Base64, Base64url and Base36

02

Private by design

Everything happens in your browser. Nothing you type, paste or upload is sent anywhere, and it keeps working offline once the page has loaded.

03

What you get

Encoded or decoded text and hex, with a Copy and a Download button on every result.

  • Base32
  • Base58
  • Ascii85
  • ULID

Why it matters

Base64 isn't the only way to turn bytes into text. TOTP secrets use Base32, Bitcoin addresses and IPFS hashes use Base58, PDF and PostScript use Ascii85, ZeroMQ uses Z85, and ULIDs use Crockford Base32. Each exists for a reason, such as avoiding characters that look alike or fitting in URLs.

This tool encodes and decodes all of them from text, hex or a file, checks Base58Check checksums so you can spot a mistyped address, and shows the same bytes in every encoding side by side to compare their lengths.

How it works

  1. InputText, hex or a file
  2. In your browserEncoded or decoded with 10 codecs
  3. OutputThe encoded text, and ULID tools

Where it fits in a designer's workflow

  1. Plan
  2. Design
  3. Build
  4. Test
  5. Launch
Working with keys, IDs and addresses.

By the numbers

'Hello, world' (12 bytes) in each encodingBase32 (RFC 4648): 24 characters; Base32hex (RFC 4648 §7): 24 characters; Crockford Base32: 20 characters; Base58 (Bitcoin, IPFS): 17 characters; Base58 (Flickr): 17 characters; Ascii85 (Adobe): 19 characters; Z85 (ZeroMQ): 15 characters; Base64: 16 characters; Base64url (no padding): 16 characters; Base36 (big number): 19 charactersBase32 (RFC 4648)24 charactersBase32hex (RFC 4648 §7)24 charactersCrockford Base3220 charactersBase58 (Bitcoin, IPFS)17 charactersBase58 (Flickr)17 charactersAscii85 (Adobe)19 charactersZ85 (ZeroMQ)15 charactersBase6416 charactersBase64url (no padding)16 charactersBase36 (big number)19 characters
Encoded by this tool. Base64 adds a third; Base32 adds 60% but survives case changes and avoids confusing letters; Base58 drops 0, O, I and l so people can copy it by hand. Ascii85 includes its <~ ~> delimiters here. Source: RFC 4648.
Show the numbers as a table
EncodingCharacters
Base32 (RFC 4648)24
Base32hex (RFC 4648 §7)24
Crockford Base3220
Base58 (Bitcoin, IPFS)17
Base58 (Flickr)17
Ascii85 (Adobe)19
Z85 (ZeroMQ)15
Base6416
Base64url (no padding)16
Base36 (big number)19

How to use it

  1. Choose encode or decode and the encoding.
  2. Type or paste text, hex or an encoded value, or pick a file.
  3. Read the result and its size.
  4. Press 'Use output as input' to check it round-trips.

FAQ

Why does Base58 leave out some characters?

0, O, I and l are left out so people can't confuse them when reading or typing an address.

What's Base58Check?

Base58 with a 4-byte checksum from a double SHA-256, so a typo is detected instead of sending money to the wrong address.

What's a ULID?

A 128-bit ID like a UUID that sorts by creation time. The first 10 characters are the time in milliseconds.

Is my file uploaded?

No. It's encoded in your browser.

Work with me

Want a site that gets these right?

I build fast, accessible websites and web apps that pass these checks from day one. Tell me about your project and I'll reply personally with honest next steps.

All developer tools · Back to leej.uk