FORMATFYCOM formátovač · validátor · minifikátor About

What's new

Base64 Decode

Decode Base64, URL-safe Base64 and data: URIs to text or a file, with image preview. Free, runs entirely in your browser.

Input

Output


      

How to decode Base64

Decodes Base64 to text or a file. Accepts URL-safe Base64, line breaks and data: URIs; detects binary content (PNG, JPEG, PDF, ZIP…), previews images and offers files for download.

  1. Paste Base64

    With a data:image/png;base64, prefix or wrapped at 76 characters — both work.

  2. Check the result

    Text appears right away, images as a preview, other files with type and size.

  3. Save the file

    Download it with the right extension.

Errors the decoder detects

Invalid character

Base64 may contain only A–Z, a–z, 0–9, +, / and = at the end. The tool shows the line and column.

SGVsbG8*→SGVsbG8=

Wrong length

A character is missing or extra — typically a truncated string.

SGVsbG8gd→SGVsbG8gdw==

“=” in the middle

Padding = is only allowed at the end — often two strings joined together.

YQ==Yg==→YQ== and Yg== separately

FAQ

How do I get an image from Base64?

Paste the string (with data:image/…;base64, if you have it); you’ll see a preview and can download the PNG, JPEG or GIF.

Does Base64 from a JWT work?

Yes — URL-safe Base64 (- and _, no =) decodes too. For a whole token use the JWT decoder.

Is it free, without sign-up?

Yes. No sign-up, no ads and no size limit — the only limit is your computer.

Is my data sent to a server?

No. Everything runs in your browser and the data you paste never leaves it — fine even for data with tokens or personal information.

Related tools