TF

Converters

Base32, Base58, Hex and Binary Encoder and Decoder

Convert text or files to Base32, Hex, Binary, Decimal (ASCII), Octal, Base58, Base62, Base36, Base85, or Base64 — and back.

Runs locally in your browser — your input is not uploaded.

Data URIs, email attachments, JSON, and API payloads.

Type text or choose a file — the result updates as you type.

What is this tool?

Pick a format, type or drop in a file, and see the encoded result as you type. Decoding works the same way in reverse: readable text appears instantly, and binary data can be downloaded as a file. Handy for 2FA secrets (Base32), crypto addresses (Base58), short IDs (Base62), checksums (Hex), ASCII codes (Decimal), and seeing how text is stored (Binary).

Every format works on raw bytes. Text is converted to UTF-8 first, so accented letters and emoji round-trip intact, and files are encoded byte for byte.

Base32, Base64, Base85, Hex, and Binary convert fixed-size groups of bits, so they handle large files quickly. Base36, Base58, and Base62 treat the whole input as one big number, which suits short IDs and keys and is limited to 64 KB here.

Base58, Base62, and Base36 keep leading zero bytes as leading zero digits, matching Bitcoin’s Base58 convention. Base85 uses the Ascii85 alphabet from PDF and PostScript, with z standing for four zero bytes.

Nothing is uploaded — encoding and decoding happen entirely in your browser.

How to use the Encoder / Decoder

  1. Choose a format: Base64, Base32, Hex, Binary, Decimal (ASCII codes), Octal, Base58, Base62, Base36, or Base85.
  2. Choose Encode, then type or paste text, or switch to File and choose any file.
  3. Adjust the options for your format, such as uppercase or spaced Hex, Base32 padding, or Ascii85 delimiters.
  4. To decode, choose Decode and paste the encoded text. Text appears right away; binary data can be downloaded as a file.
  5. Copy or download the result, or use Swap direction to send it back the other way.

Examples

“Hi” as Hex and Binary

Each byte becomes two hex digits or eight bits.

Hi
4869
01001000 01101001

Frequently asked questions

Which format should I use?

Base64 for data URIs, email, and APIs. Base32 for 2FA/TOTP secrets and case-insensitive systems. Hex for checksums and byte dumps. Base58 for crypto addresses and IPFS IDs. Base62 or Base36 for short, URL-friendly IDs. Base85 when you need the most compact text.

Is encoding the same as encryption?

No. Every format here can be reversed by anyone, with no key. Use encoding to move data safely through text-only systems, never to hide secrets.

Why do Base58, Base62, and Base36 have a size limit?

They convert the whole input as one large number, which takes far more work than the group-based formats. The 64 KB limit keeps the page responsive; use Base64 or Hex for larger files.

Which Base58 alphabet do you use?

The Bitcoin alphabet: 123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz. It leaves out 0, O, I, and l, which are easy to confuse.

Can I turn encoded text back into a file?

Yes. Paste it in Decode mode. ToolForge detects common file types such as PNG, JPEG, PDF, and ZIP, previews images, and lets you download the file.

Want more power later?

Premium tools, higher limits, and API access are on the roadmap. V1 stays free and private in your browser.