Download File ❺
Download file assets like PDFs or images, rather than displaying them
Last updated
Was this helpful?
Download file assets like PDFs or images, rather than displaying them
Last updated
Was this helpful?
Download a file rather than displaying it
Work with Webflow's hosting CDN, which is cross-domain and does not support CORS
Support a custom filename
Work with both asset-stored files, and CMS-stored
Download a PDF, rather than displaying it
Download an image
Configure the link as a File link
Reference your asset, or bind it to a CMS file field, depending on your desired setup
See below for details.
Required. Set the value to the clean filename you want the file downloaded as.
You can specify this as a literal value, or bind the attribute's value to a CMS text field that contains your desired filename.
Uses a blob approach to sidestep issues regarding Webflow's cross-domain assets CDN setup, lack of support for custom MIME encoding, and browser CORS restrictions relating to the download
attribute.
Chrome
2025-Jun-01
2025-Jun-01
Edge
2025-Jun-01
Safari
n/a
n/a
Firefox
? Test with multi-image fields
? Use alt text as filename
? Download button in image gallery
? Test with components
Shout out to Matt Evans and Eric R for discussions that led to the addition of this solution to SA5.
First, add the library as detailed in .
Demonstration Page