Add file previews to your website
Don't want to build a document viewer? Paste this iframe into any page and your visitors can preview PDFs, documents, spreadsheets, images and more — right on your site. The viewer runs entirely in the visitor's browser; files are never uploaded to our servers.
The embed code
Open a specific file
Add a file parameter with a public file URL to open it automatically:
Note: the file URL must be publicly reachable and allow cross-origin (CORS) access; otherwise the browser cannot fetch it and the viewer will say so.