Webflow is powerful but has no native PDF search. Here is how to add a fully branded document search widget using Webflow Embeds — no code required.
Sparks Simple Team
4 February 2026
Webflow has become the platform of choice for design-conscious professional services firms. Its visual editor, clean output code, and powerful CMS make it an excellent choice for law firms, consultancies, and financial services companies that want a polished web presence without the overhead of a custom build.
But like every major website builder, Webflow has a limitation when it comes to PDF documents: its native search doesn't index them. A visitor who types "GDPR policy" or "fee schedule" into a Webflow search field will get results from your CMS collections and static pages — not from the text inside your PDF files.
Webflow also has no native document management or search functionality. There's no Webflow-native way to build a searchable document library. What it does have, though, is a flexible Embed element that makes it straightforward to drop in external tools.
The approach is simple: use a hosted document search service that provides a JavaScript widget, and embed that widget on any Webflow page using the Embed element. The widget handles all the indexing and search logic — your Webflow site just displays it.
Here's exactly how to do it.
Sign up for Sparks Simple and create a new widget. Name it to reflect its purpose — "Client Resources," "Policy Library," "Regulatory Documents" — and upload your PDF files. The platform extracts the full text of each document and makes it instantly searchable.
While you're in the settings, take a few minutes to match the widget to your Webflow site's design:
When the widget looks right, copy the embed code from the Embed tab. It's a single script tag.
Open your Webflow project in the Designer. Navigate to the page where you want the search widget — typically your Resources or Client Centre page.
In the Add Elements panel (the + icon in the left sidebar), scroll down to find the Embed element under Components, or search for "embed." Drag it onto your page canvas and position it where you want the search widget to appear.
Double-click the Embed element (or click the edit button in the settings panel) to open the Embed code editor. Delete any placeholder content and paste your Sparks Simple embed code. Click Save & Close.
You'll see a blue placeholder box in the Designer canvas — Webflow shows a placeholder for embeds during editing. To see the actual widget, click the Preview button or publish to a staging URL.
The Embed element's surrounding div can be styled like any other Webflow element. You might want to:
The widget itself renders inside a sandboxed script, so Webflow styles won't cascade into it — but you can control the surrounding layout entirely in Webflow's visual editor.
Switch to Webflow's responsive preview modes and check the widget on tablet and mobile breakpoints. The widget is designed to be responsive, but you may want to adjust the surrounding container's padding or width at smaller sizes for the best result.
Test the actual functionality on a real mobile device rather than just the simulator — type a search query and confirm that results appear clearly and are tappable.
If your firm uses Webflow's CMS, you can combine it with your document search widget for a richer experience. For example:
This gives visitors two ways to access documents: browsing by category (via CMS) or searching by keyword (via the widget). Different users prefer different discovery methods — giving them both maximises the chance they'll find what they need without contacting you.
If you want the search widget available on multiple pages, you can create a Symbol in Webflow containing the Embed element. Symbols are reusable components — update the Symbol once and the change propagates to every page where it's used.
Create a Symbol from your Embed element by right-clicking it and selecting "Create Symbol." Give it a name like "Document Search Widget" and you can then drag it onto any other page in your project.
When you're happy with the placement and styling, publish your Webflow project as normal. The search widget will be live immediately after publishing. Test on your live URL to confirm the widget loads and search returns results from your documents.
If you later add more documents to your Sparks Simple library, they'll be indexed and searchable automatically — no changes needed to your Webflow site.
Your Webflow site now has a branded, full-text search widget that searches across all your PDF documents. Visitors can find answers without calling. Your design stays intact. And you haven't had to touch a line of code or add a single plugin to maintain.
Ready to get started?
Start your free 14-day trial — no credit card required. Upload your PDFs, embed a search widget, done.
Start free trial →