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

TL;DR
  • Upload your file to Dropbox and generate a share link.  
  • Modify the link by changing dl=0 to raw=1 for direct access.  
  • Embed the updated link into a Webflow link element and publish the site.

You can use Dropbox public links to host and share files via your Webflow site, but it requires converting them for direct access. Here’s how to do it effectively within Webflow’s limitations.

1. Upload File to Dropbox

  • Save your file (e.g., PDF, image, or ZIP) to your Dropbox account.
  • Put the file in any folder (public folder not required anymore as Dropbox allows shared links for all files).

2. Create a Shareable Link

  • Right-click on the file in Dropbox and choose “Share…”.
  • Click “Copy link” to generate a Dropbox share link (e.g.,  

  https://www.dropbox.com/s/abc123/sample.pdf?dl=0).

3. Convert Link to Direct Download Format

Webflow doesn’t support Dropbox preview pages, so you must convert the link:

  

  • In the copied URL, change dl=0 to raw=1 for direct access:
  • From: https://www.dropbox.com/s/abc123/sample.pdf?dl=0
  • To: https://www.dropbox.com/s/abc123/sample.pdf?raw=1

  

This forces the browser to download or render the file directly.

4. Embed the Link in Webflow

  • In the Webflow Designer, select or add a ButtonLink Block, or Text Link.
  • Under Element Settings (gear icon), paste the modified Dropbox URL in the URL field.
  • Set the link to Open in New Tab if needed.

5. Test the Link

  • Publish your Webflow site.
  • Visit the page and click the Dropbox-linked element to ensure it opens or downloads as expected.

Summary

To host files via Dropbox in your Webflow site, upload the file to Dropbox, create a share linkconvert it to a direct link by replacing dl=0 with raw=1, and embed that URL in any link element in Webflow. This allows users to directly access or download the file without visiting Dropbox’s preview page.

Rate this answer

Other Webflow Questions