File & convert

PDF ↔ Base64

Free online tool to convert PDF files to Base64 encoded strings and decode Base64 strings back to downloadable PDF files. Drag and drop or click to upload a PDF file and instantly get its Base64 representation for use in APIs, email systems, and data URIs. Also converts Base64 strings back to PDF files you can open directly in your browser. Commonly used by developers working with REST APIs that accept PDF as Base64, email attachments, and document management systems. All conversion happens 100% client-side.

Drop PDF here or click to upload

how to use

  1. 1.Select mode: PDF to Base64 or Base64 to PDF
  2. 2.For PDF to Base64: drag and drop or click to upload your PDF file
  3. 3.For Base64 to PDF: paste your Base64 string and click Open PDF
  4. 4.Copy the Base64 output or download the decoded PDF

frequently asked

Why convert PDF to Base64?

Many APIs and email protocols require binary files to be encoded as Base64 text for safe transmission over text-based protocols.

Is there a file size limit?

The tool handles PDFs up to ~10MB. Larger files may slow down your browser as all processing is done client-side.