TOOLTIKI Lovable tool, really free
Developer Encoding

Base64 decoder

What to do

Processed in your browser · nothing is uploaded

Local · padding restored automatically
Advertisement
320 × 100

Decodes Base64 back to text, accepting the URL-safe alphabet and restoring padding that has been stripped — the two things that make a decoder reject perfectly valid input.

How to use the base64 decoder

1 Paste your input. The result appears immediately.
2 Pick the operation you want.
3 Copy the result, or save it as a file.

Padding is the usual reason a decoder refuses input it should accept. The `=` characters exist to bring the length to a multiple of four, and many systems strip them because they are redundant — JWTs always do. A decoder insisting on them fails on good data. This restores them and rejects only a length that is genuinely impossible. The other common surprise is decoding something that was never text: Base64 encodes bytes, so decoding an encoded image gives binary rubbish rather than an error, because there is nothing invalid about it.

Questions

Usually stripped padding or the URL-safe alphabet. Both are accepted here.

RFC 4648 — Base16, Base32 and Base64 data encodings
Advertisement
300 × 250
Was this tool any good?
INTERNAL SIGNAL ONLY · WE USE IT TO FIND TOOLS WORTH REBUILDING