How do I link a button to a file in Webflow?
Attach a file to a Webflow button or text link, then choose whether images and documents open in this tab or a new one.
Select the button, text link, or link block and open Element settings. Choose the File link type and attach the asset. Image and document files open in the same tab. Other file types download. Check Open in a new tab when an image or document should not replace the page. File links are available on paid plans. A CMS file field is a separate control.
Choose File on the button
A file link attaches an asset to a link element so a visitor can open or download that file. The element is a text link, a link block, or a button. Select it on the canvas or in the Navigator. Open Element settings. The shortcut is D.
Choose the link type first. Choose File, then attach the asset. Webflow says you can attach any type of asset to the link.
The button label is separate from the file. A label such as Download the plan tells the visitor what will happen. The File type is what actually points at the asset. A label alone does not attach the PDF.
Example: the pricing page has a button that reads Download the plan. Its link type is File, and the asset is the current plan PDF. The words on the button are the label. They are not the link type.
The button guide is how to add the button and its label. This page is how that button points at a file instead of a page or a URL.
To make an image the clickable object, put the image inside a link block. Link blocks use the same link types, including File. Select the link block, not only the image inside it, when you set the file.
See what opens and what downloads
Webflow distinguishes two results. Image files and document files open in the same tab. Other file types download to the computer.
A PDF or a picture will replace the page the visitor was on unless you change that. A file type that is not an image or a document downloads instead. Test the real asset. The label Download does not force a download when the asset is a document. The file type decides.
Check Open in a new tab when the image or document should leave the current page in place. Webflow lists that checkbox for a file link, along with URL, page, and Collection page links. The visitor then gets the file in another tab and can return to the page they started on.
Example: Download the plan should not navigate away from /pricing. Select the button, keep the File type, and check Open in a new tab. Publish, click the button, and confirm the PDF opens beside the pricing page rather than instead of it.
The new tab guide is that checkbox on ordinary page links. This page is the same checkbox on a file, where it also decides whether a document replaces the page.
Use a file field when each item has its own file
A File link on a static button stores one asset on that button. Every visitor gets that same file. When each Collection item should offer a different file, that is a file field on the Collection, connected with Get file from. The file field guide is that CMS connection, including the plan it requires and what happens if a dynamic file replaces an asset you had attached.
Do not add a file field when the pricing page has one brochure for the whole site. The static File link is the smaller setup. Do not attach one PDF to a button inside a Collection list when each item's brochure is different. The list would share one file. Choose Page when the button should open another page on the site, or URL when it should open an address you paste. Choose File only when the destination is an asset.
Paid plans, and a link you can actually click
Webflow says attaching a file to a link is a premium feature available on paid plans. If File is missing from the link types, check that the site is on a paid plan and that you selected a text link, a link block, or a button. A plain image that is not inside a link block will not show those link types.
Give the asset a file name a visitor can recognize. The button can say Download the plan while the file name still reads like an export from a design tool. Rename the asset before you attach it if the downloaded name would confuse someone. Leave link preloading on Default. Prefetch and prerender load a destination early, and Webflow says prerender strains the browser, so a download button does not need it.
Publish and click the file
The Designer does not prove the live click. Publish the domain you want to test. Click the button on the published page, not only on the canvas.
Check three things. The file that opens is the asset you attached, not an older export. An image or document opens in a new tab if you checked that box, and in the same tab if you did not. A file that is neither an image nor a document downloads.
If the button still opens a page, the link type is probably still Page or URL. Select the button again and confirm File is the type, then publish and click once more.
Example to check: on /pricing, Download the plan opens the current PDF in a new tab, the pricing page stays where it was, and a second button that says View plans still uses the Page link type for /compare.
Linking a button to a file on a page you already have is ordinary link work. The membership is one plan for every existing Webflow site: $999 per month, including 10 hours of Webflow work. Additional work is $75 per hour and starts only after you approve a written estimate.
Questions & answers
The PDF replaced my pricing page. How do I keep the page open?
Check Open in a new tab on that file link. Webflow says image and document files open in the same tab until you check it. Other file types download instead.
Each blog post needs its own PDF. Is this the same setting?
No. A File link on a static button attaches one asset. A file that changes per Collection item uses a file field and Get file from. The file field guide is that CMS connection.
Can I attach a file to a photo without a button?
Put the image inside a link block, then set that link block to File. Webflow says link blocks use the same file option as buttons and text links.
I do not see the File link type. What should I check?
Webflow says file attachments on a link are a premium feature available on paid plans. Confirm the site is on a paid plan, and confirm you selected a text link, a link block, or a button.
Sources & further reading
Need a hand with your Webflow site?
View membership
View membership