You might see that the Dropbox Community team have been busy working on some major updates to the Community itself! So, here is some info on what’s changed, what’s staying the same and what you can expect from the Dropbox Community overall.

Forum Discussion

lportzline's avatar
lportzline
Helpful | Level 5
3 years ago

Open PDF in browser

When I share a link to a PDF, how can I get the PDF to open directly in someone's browser without requiring them to download the file to their hard drive? Thanks.
  • Rich's avatar
    Rich
    3 years ago

    lportzline wrote:

    As you suggested, I've tried the dl=1 and raw=1 parameters with people both inside and outside of my organization, and they're still being taken to a page that wants to make them download the file rather than opening it directly.


    Using ?dl=1 will force the file to download so you don't want that one. The default, or ?dl=0, will preview the file on the Dropbox website. So it will stay in the browser, but it will have the Dropbox interface around the PDF. Using ?raw=1 just sends the raw file to the browser and the browser determines how to handle it.

     

     

    That link opens the PDF file directly in a browser if the browser knows how to handle a PDF file and it's set to open them directly, instead of handing them off to another application or just downloading it. Those settings are in the browser and not part of Dropbox.

About View, download, and export

Need support with viewing, downloading, and exporting files and folders from your Dropbox account? Find help from the Dropbox Community.

Need more support

If you need more help you can view your support options (expected response time for an email or ticket is 24 hours), or contact us on X or Facebook.

For more info on available support options for your Dropbox plan, see this article.

If you found the answer to your question in this Community thread, please 'like' the post to say thanks and to let us know it was useful!