Base64 Decoder

Decode Base64 back to text — standard and URL-safe — in your browser.

Ad placeholder (leaderboard)
Enjoying the tools? Go Pro for £4.99 (one-time) and remove all ads — forever, on this device. Remove ads — £4.99

Base64 decoder

Turn a Base64 string back into readable text. The decoder accepts both the standard and URL-safe alphabets, fixes missing padding for you, and decodes the bytes as UTF-8 — useful for inspecting JWT payloads, data URIs, config values and email headers.

How it works

First the tool normalises the input: URL-safe characters - and _ are converted back to + and /, and any missing = padding is restored so the length is a multiple of 4. It then uses the browser’s built-in atob to turn each group of 4 characters into 3 bytes, and decodes those bytes with a strict UTF-8 decoder. If the bytes are not valid UTF-8, or the length is malformed, it reports an error rather than returning garbage.

Example

Decoding SGVsbG8sIEdlcmEgVG9vbHMh:

SGVsbG8sIEdlcmEgVG9vbHMhHello, Gera Tools!

Base64Decoded text
R2VyYQ==Gera
SGk=Hi

To encode in the first place, use the Base64 encoder. All decoding happens locally in your browser — nothing is uploaded.

Ad placeholder (rectangle)