Base64 / Base32 / Base58 Converter
Encode and decode text as Base64, Base64URL, Base32, Base58, Ascii85 or hex.
Runs on your machine. Nothing you paste is uploaded.
Get Base64 / Base32 / Base58 Converter and 121 other tools. Free for 7 days, no account needed.

What it does
Switch between Encode and Decode, type or paste text, and the Base64 result appears below as you type. Text is handled as UTF-8, so accented letters, Vietnamese, and emoji encode and decode correctly.
Decoding accepts both standard and URL-safe Base64, ignores whitespace and line breaks, and adds missing padding for you. If the decoded bytes are not valid UTF-8 text, such as an image or a binary key, you get an error instead of garbled characters. You can also drop a text file onto the input.
The same tool also handles Base64URL, Base32, Base58 (the Bitcoin alphabet), Ascii85 and hex: pick the encoding from the list and the conversion works both ways.
When you would reach for it
- Decode a Base64 value from a Kubernetes secret or an environment variable to check what it contains.
- Encode credentials for a Basic Authorization header while testing an API.
- Read the contents of a URL-safe Base64 string copied from a query parameter or webhook payload.
- Encode a short config snippet so it can be stored safely in a single-line field.
- Decode a Base32 OTP secret or a Base58 identifier to see the bytes behind it.
Also found by searching
- base64
- base64url
- base32
- base58
- ascii85
- base85
- hex
- encode
- decode
- string
- convert