File Size Limits (Bubble.io)
This article discusses the file size limit of PDFs created from Bubble applications (using the 'Create PDF' plugin action). If you're designing PDF templates from our template editor, please see other sections of the documentation.
The Bubble data API has a 50MB file size limit on files that can be uploaded. Practically, this means that it is not possible to upload files created with the Create PDF plugin action that are > 50MB in size. While most PDFs generated by DocuPotion Bubble users are significantly below this 50MB limit, this may be an issue for large, image-heavy PDFs.
How to reduce your PDF file size
You can reduce the size of your PDF by:
- Setting the Compress field on the Create PDF action to 'yes'
- Setting the Device Scale Factor value on the Create PDF action to a lower value
- Compressing images uploaded by your users so they contribute less to the overall PDF size
How to create PDFs > 50MB
You can generate PDFs that are >50MB size if you use our 'Bring Your Own Storage' feature. This allows you to store generated PDFs in your own AWS S3 bucket. Using your own S3 bucket means generated PDFs are never uploaded to your Bubble file manager - instead they are sent directly to your S3 bucket. You can then access the PDFs using a presigned URL.