API and JSON responses
Turn a Base64 document field from an API response into a PDF you can inspect or save.
DECODE BASE64 INTO A PDF
Paste a Base64 string or PDF data URI, convert it into a PDF, preview the document directly in your browser, and download it. Free, private, and no sign-up required.
COMMON WORKFLOWS
Base64-to-PDF decoding is useful when a complete document arrives through a text-oriented system instead of as a normal .pdf attachment.
Turn a Base64 document field from an API response into a PDF you can inspect or save.
Decode a data:application/pdf;base64 URL copied from HTML, browser storage, or a development tool.
Recover a PDF received as Base64 from an API, webhook, Power Automate flow, Zapier step, or another automation platform.
THREE LOCAL STEPS
Paste raw Base64, a PDF data URI, or upload a .txt, .base64, or .b64 file.
The browser normalizes the text, decodes it off the main thread, and checks the PDF header.
Review the decoded document and download the same validated PDF bytes.
FORMAT REFERENCE
The converter accepts standard padded Base64, unpadded Base64, Base64URL characters, line-wrapped text, and complete PDF data URLs. Spaces and line breaks are removed before decoding.
After decoding, KissPDF looks for the standard %PDF- signature near the beginning of the bytes. This catches text, images, and unrelated Base64 values before download, but it does not repair corruption or guarantee that every page and object is structurally valid.
Base64 is a reversible text encoding, not a security mechanism. Anyone who receives the value can decode it. A password-protected PDF remains protected after decoding, while an unprotected PDF gains no confidentiality from Base64.
COMMON QUESTIONS
Paste the Base64 value, optionally choose an output filename, and click Convert to PDF. After validation, preview the result or download the decoded .pdf file.
Copy the Base64 document field from the API, JSON response, webhook, Power Automate flow, or other automation output, then paste it into the converter. Remove surrounding JSON quotation marks if present. A complete data:application/pdf;base64, value can be pasted without removing its prefix.
Yes. Paste a complete value beginning with data:application/pdf;base64,. The converter removes the media-type prefix and decodes the remaining Base64 text.
Yes. Upload a .txt, .base64, or .b64 file containing raw Base64 or a PDF data URL. The text is read locally in the browser.
Yes. Spaces and line breaks are ignored, and standard equals-sign padding is restored when it can be inferred safely.
It decodes Base64 text and verifies that the resulting bytes contain a PDF signature. It cannot turn unrelated binary data, an image, or plain text into a valid PDF.
No. Base64 is reversible encoding, not encryption. If the encoded PDF is password protected, the downloaded PDF still requires that password.
No. Normalization, decoding, validation, preview creation, and download all happen in browser memory on your device.
The value may contain invalid characters, use a non-PDF data URL, be incomplete, or decode to bytes without a PDF header. Confirm that the source encoded an actual PDF file.
No. The converter restores the encoded bytes directly and does not render, recompress, or rewrite the PDF.
The decoded PDF limit is 100 MB on desktop and 32 MB on mobile. The Base64 input is larger than the resulting PDF and also requires browser memory while decoding.