Base64 to PDF

Convert a Base64 encoded string back into a downloadable PDF file.

About this tool

The reverse of PDF-to-Base64: paste a Base64 string that represents PDF data and get back a real, downloadable .pdf file — handy when you've pulled a Base64-encoded document out of an API response or database.

How to use it

  1. Paste the Base64 string into the input box (with or without a data: URI prefix).
  2. The tool decodes it and offers a preview or direct download.
  3. Download the reconstructed PDF file.

FAQ

What if the decoded file isn't a valid PDF?

The tool will still attempt the download, but if the original Base64 wasn't actually PDF data (or was corrupted/truncated), the resulting file won't open correctly in a PDF viewer.

Does it work with data: URI prefixes like data:application/pdf;base64,...?

Yes, the tool strips a data URI prefix if present before decoding.