Convert any PDF file into a Base64-encoded text string. Useful for developers who need to embed PDFs in JSON API responses, HTML data URIs, or email bodies.
How it works
Upload your PDF file.
Click Encode to Base64.
Copy the Base64 string or download it as a .txt file.
Tips for best results
Base64 strings are approximately 33% larger than the original file.
For use in an HTML or
Frequently asked questions
Can I use this Base64 string directly in an API?
Yes - most REST APIs that accept document uploads support Base64-encoded file content in JSON payloads.
You appear to be offline. Check your internet connection, then try again.