Base64 to PDF
Paste a Base64-encoded PDF to view it inline and download the .pdf file.
About this tool
APIs and e-mail systems often deliver PDF documents as Base64. Base64 to PDF decodes the string in your browser, checks the %PDF signature, displays the document inline and provides download and open-in-new-tab buttons. Nothing is uploaded, which matters for invoices and contracts.
How to use it — quick steps
- 01
Enter the base64 string or data url
Type or paste the base64 string or data url in the field above. Nothing is uploaded. Use Ctrl + V to paste.
- 02
Press "Decode and preview"
Press "Decode and preview" or Ctrl + Enter. The result appears instantly below the form.
- 03
Read the result
It appears in the dark panel under the form instantly. Every block has [copy] and other actions.
Key features of this tool
Nothing leaves your browser
The processing is plain JavaScript that runs on your device: the text you paste is never uploaded to our servers or to anyone else.
Instant results
Results appear the moment you press the button, even for long inputs, and every block has copy and download actions.
Works everywhere
No installation, no account and no limits: the tool works on desktop and mobile, in any modern browser, as often as you like.
Frequently asked questions
The PDF viewer is empty
Some browsers block inline PDF viewing; use the Download or Open buttons instead.
Where do Base64 PDFs come from?
APIs that return documents (invoices, reports, the APIVoid URL to PDF API), e-mail attachments in raw MIME and JSON payloads.
Are my files or data uploaded?
No. The tool is plain JavaScript that runs in your browser; the files or data you provide here are never uploaded to our servers.