Skip to content
LayerShotGet early access

Base64 to image

The other direction: paste a data URI you found in some source code and get a real file back.

How to use it

  1. Paste the Base64 string, with or without the `data:` prefix.
  2. Check the preview, then download the file.

Questions

Are my images uploaded anywhere?

No. Everything runs in your browser using the Canvas API — the file never leaves your machine, and the tool keeps working if you go offline after the page loads. There is no account, no queue, and no server-side copy to delete later.

It says the string is invalid — why?

Usually a truncated paste or stray line breaks from copying out of a code editor. Make sure you have the whole string. A bare Base64 payload without the `data:image/...;base64,` prefix is fine — the format is detected from the decoded bytes.

Related tools

This is one keystroke inside LayerShot

The desktop app captures the screen, applies your styling and puts the result on your clipboard without a browser tab, an upload, or a download folder full of files called Screenshot (3).png. One payment, one Mac and one Windows PC, lifetime updates.