PDF ke Base64

Enkode dokumen PDF ke Base64 untuk disematkan di HTML, template email, atau API.

Seret dan jatuhkan file di sini, atau pilih dari disk.

Ukuran file maksimum: 25MB

Frequently Asked Questions

How do I embed a Base64 PDF in HTML?
Use an iframe with the data URI as src: <iframe src="data:application/pdf;base64,..."></iframe>. This works in Chrome, Firefox, and Edge.
Can I include a Base64 PDF in an email?
Most email clients will not render inline PDF data URIs. It is better to attach the PDF file or link to a hosted version.
How large can a PDF be for Base64 encoding?
Any size, but Base64 adds 33% overhead. A 1 MB PDF becomes approximately 1.37 MB. For web embedding, keep PDFs under 2 MB for best performance.
Is the PDF content searchable after encoding?
No. Base64-encoded PDFs are opaque binary blobs. Search engines and browser search cannot read the text inside an embedded Base64 PDF.
Why use Base64 for PDFs instead of a URL?
Base64 is useful when you need a self-contained document — offline HTML reports, single-file exports, or situations where you cannot host the file separately.
PDF to Base64 Encoder — Embed PDFs in HTML | B64wise | B64wise