Base64 to PDF Converter
Decode a Base64 string into a real, downloadable PDF file.
To convert Base64 to a PDF, paste the encoded string and it is decoded into real bytes and offered as a downloadable file. A `data:application/pdf;base64,` prefix, line breaks and URL-safe characters are all handled. The header is checked, so if the data decodes to something that is not a PDF you are told rather than handed a file that will not open.
Runs in your browser- Privacy
- Runs entirely in your browser — nothing is uploaded
- Cost
- Free, unlimited, no sign-up
Frequently asked questions
My string will not decode.
How to use the base64 to pdf converter
- 1Enter or paste your base64 data.
- 2Press Run, then download the result when it is ready.
Sources & specifications
Embed this tool
Put the working base64 to pdf converter on your own site. It runs in your visitors' browsers exactly as it does here — free, no account, nothing uploaded.
Share this tool
Related tools
PDF to Base64 ConverterEncode a PDF as a Base64 string or a data URI, ready to embed in code.Base64 to File ConverterDecode Base64, a data URI or hex back into a downloadable file, with the type detected automatically.Multi-Format EncoderEncode text into Base64, hex, binary, URL, HTML entities, ROT13 and more, all at once.File to Base64 ConverterEncode any file — image, PDF, video, font, archive — as Base64, a data URI, hex or a byte array.Excel to PDFConvert an Excel workbook to a PDF table, one section per sheet, in your browser.HTML to PDFConvert HTML markup into a clean, text-based PDF document in your browser.
Last updated
More encoders & decoders