Encode a PDF to Base64 for inline embedding, or decode Base64 back to a PDF file.
Drop your PDF here, or click to browse
PDF up to ~100 MB · stays on your device
Updated 2026 · Maintained by the CrispPDF team
APIs, JSON payloads, and data URIs often require files as Base64 strings. CrispPDF's Base64 tool encodes PDFs into text and decodes text back into PDFs—instantly and locally.
Upload a PDF to get a Base64 string you can paste into code. Or paste a Base64 string and download the reconstructed PDF. The workflow is developer-friendly: copy, paste, done.
For backend engineers embedding PDFs in JSON responses, the encoder saves a step. For front-end developers debugging data URIs, the decoder visualizes the payload.
Because encoding and decoding run in your browser, your data stays private. After decoding, explore related tools: compress the PDF, extract text, or add a watermark.
// How to use
Choose PDF → Base64 to encode a PDF, or Base64 → PDF to decode a text string back into a PDF.
Drop a PDF file, or paste a Base64 string into the input box.
Click Convert. CrispPDF encodes or decodes locally, safe for API payloads and email pipelines.
Copy the Base64 string, or download the decoded PDF, whichever direction you chose.
// Why CrispPDF
CrispPDF runs entirely in your browser — your files never touch a server. No signup, no watermarks, no daily limits, no upsells. We built it because every other PDF site is slow, ad-stuffed, or hides the good features behind a paywall. CrispPDF is fast on a phone, fast on a laptop, fast on a 10-year-old machine. Output is byte-clean: signatures stay sharp, compressed PDFs stay readable, conversions preserve layout where the source allows. And because nothing leaves your device, even confidential documents are safe to process. Bookmark this page, share it with your team, and stop juggling five different PDF sites for five different tasks.
// FAQ
Upload the PDF to CrispPDF and copy the generated Base64 text.
Paste the string into CrispPDF's decoder and download the PDF.
Browser memory is the practical limit—most typical PDFs convert fine.
Drop the file into CrispPDF and copy the resulting string.
Yes. Paste it into the decoder and download.
Base64 lets you embed binary data in text-only formats like JSON, XML, or emails.