PDF to Base64

Convert a PDF file to Base64 locally, retaining every original byte.

Base64 inputPaste or drop a file
0 charactersBase64 / Base64URL
Decoded result
Ready to convertYour result will appear here automatically.
Waiting for input0 bytes
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.