Webflow sync, pageviews & more.
NEW

How can I host files on my Webflow site using Dropbox Public Links?

TL;DR
  • Upload your file to Dropbox and generate a shareable link by selecting "Share" and copying the provided URL.
  • Modify the link by changing ?dl=0 to ?raw=1 or ?dl=1 depending on whether you want inline viewing or direct download.
  • In Webflow, add this modified link to a button or text element as a URL to allow access to the file.

You can’t directly host files on Webflow using Dropbox public links because Dropbox doesn’t support direct file hosting the way traditional web servers do. However, you can link to files stored on Dropbox if they are shared properly.

  • Dropbox disabled direct file rendering (for HTML, JS, etc.) via public links in 2017.
  • File links from Dropbox will not act like true hosted files; they serve as file downloads, not embeddable or hotlink-capable assets.

2. Upload the File to Dropbox

  • Upload your file (e.g., a PDF, DOC, or ZIP file) to your Dropbox account.
  • Place it in your Dropbox > Public folder if your account still has one (older accounts only).
  • If no Public folder, any folder is fine, but public hosting limitations still apply.
  • Right-click the file and choose Share.
  • In the modal, adjust link settings if needed (e.g., anyone with the link can view).
  • Copy the shareable link, which should look something like:
    https://www.dropbox.com/s/abcd1234yourfile.pdf?dl=0
  • Modify the end of the URL from ?dl=0 to ?raw=1 or ?dl=1.
  • ?raw=1 will open the file inline in supported browsers.
  • ?dl=1 will trigger a download.
  • Example:
    https://www.dropbox.com/s/abcd1234yourfile.pdf?raw=1
  • In Webflow Designer, select any element (e.g., Button, Text Link).
  • Set the Link Settings to type URL, and paste your Dropbox link with ?raw=1 or ?dl=1.

Summary

You can’t host files on your Webflow site using Dropbox, but you can link to Dropbox-shared files using their modified share links (e.g., ?raw=1). For true hosting of embeddable assets like scripts or videos, use services like AWS S3, GitHub, or dedicated file hosting platforms.

Rate this answer

Other Webflow Questions