PDF to Base64
Convert a PDF file to Base64 locally, retaining every original byte.
Base64 inputPaste or drop a file
Decoded result
Ready to convertYour result will appear here automatically.
Starting local conversion…
Processed on this device. Keep this tab open until the conversion is complete.
Character encoding candidates
These are guesses, not verified matches. Select a preview only if it looks right.
Advanced settings
How to use this tool
Open a PDF file and copy or download the Base64 representation. Large documents are processed in chunks. You can decode the result later to restore the original PDF.
Example: Try example encodes a one-page PDF. The encoded text begins with JVBER.
Frequently asked questions
Does the original PDF change?
No. Encoding operates on the original file bytes, not on PDF text or rendered pages.
What is the file size limit?
Encode up to 100 MiB, or decode up to 160 MiB of Base64 input into at most 100 MiB. Actual capacity depends on your device memory.