Add this free merge PDF widget to your website and visitors can combine several PDFs, and even photos, into one file without leaving your page. They add their files, drag them into order and download a single merged PDF. It is ideal when you ask clients or applicants to send “one PDF with all documents”. Copy the code below, paste it on your site, and the tool is ready to use.
Live preview – this is the real widget. Try it.
Customise your widget
The widget grows and shrinks to fit its content automatically, so visitors never see a scroll bar inside it.
Free forever. No sign-up, no API key, no ads inside the widget. Paste it into any page (WordPress: Custom HTML block).
What the Merge PDF widget does
The widget runs our complete Merge PDF tool. It keeps pages exactly as they are, so text stays sharp and searchable. Visitors get:
- PDFs and images (JPG, PNG, WebP and iPhone HEIC) merged together, with picture pages as A4, US Letter or the image’s own size.
- Drag-and-drop ordering, plus Sort A–Z or reverse, rotate and remove buttons.
- A bookmark for each original file in the merged PDF.
- An optional blank page between files for double-sided printing.
- No limit on the number of files beyond what the visitor’s device can handle.
A comparison with other mergers and more details are on the Merge PDF tool page. Here we focus on offering the tool to your own visitors.
Who should add a merge pdf widget to their website
Many businesses ask customers for a single PDF and then receive ten separate files. This widget fixes that for:
- CA and tax consultant websites – clients can combine bank statements, Form 16, receipts and ID proofs into one PDF before emailing them.
- Visa and immigration agents – applicants can join passport scans, photos and letters in the exact order the embassy checklist asks for.
- College admission pages – students uploading mark sheets, certificates and ID in one file can merge them right on the admission guide.
- HR and recruitment sites – candidates can merge their CV, cover letter and certificates into a single application PDF.
- Legal service websites – clients can send all case documents in one organised PDF, with a bookmark for each original file.
How your visitors use it
- The visitor adds PDFs and photos by clicking Choose PDF files or dropping them in.
- They drag the files into the right order, rotate any that are sideways and remove mistakes.
- They keep bookmarks on and add blank pages between files if they will print double-sided.
- They click Merge and download one combined PDF.
Tip: publish your required document order above the widget, for example “1. ID proof, 2. Address proof, 3. Income proof”, so visitors merge in the order you want.
How to add the Merge PDF widget to your website
Set the colour and size in the box above, click Copy code, then paste the code where the Merge PDF widget should appear. It is plain HTML (an iframe, one credit line and a tiny height script), so you need no account, API key or plugin.
| Platform | Where to paste the code |
|---|---|
| WordPress | Add a Custom HTML block and paste. Elementor: HTML widget. Classic editor: Text tab. |
| Blogger | Post editor in HTML view, or Layout › Add a Gadget › HTML/JavaScript for every page. |
| Wix | Add › Embed Code › Embed HTML, paste, then set the box height yourself (about 650–750 px). |
| Shopify | Online Store › Pages › Show HTML (<>), or a Custom Liquid section in the theme editor. |
| Google Sites | Insert › Embed › Embed code, then drag the box tall enough for the whole tool. |
| Any HTML site | Paste anywhere inside <body>. No jQuery or other library needed. |
Where to put it: Put it on your “Documents required” page, right below the checklist. Place it just above your document upload form, so the merged PDF goes straight into it. To remove the widget later, simply delete the code.
Customise the Merge PDF widget
| Setting | Options | Tip for the Merge PDF widget |
|---|---|---|
| Button colour | Any colour (colour picker) | Use your brand colour for the Merge and Download buttons. |
| Maximum width | 760 px (recommended), 600 px, 480 px for sidebars, or full width | 760 px or full width shows file thumbnails comfortably. |
| Starting height | 480, 560 (recommended) or 680 px | 560 px is right for the empty widget; it grows with each file added. |
Size and mobile
File thumbnails wrap into rows that fit the screen, and on phones each file gets a full-width card with clear arrows to change its order. Visitors can choose PDFs and photos directly from their phone storage or camera. The widget grows as files are added and shrinks when they are removed, so no inner scroll bar appears.
Light on your page and always up to date
The iframe uses lazy loading, so the browser only loads the widget when a visitor scrolls near it. Inside the widget there are no ads, no analytics and no tracking scripts. The PDF engine is only downloaded when a visitor adds their first file, so readers who just view your checklist load nothing heavy. All merging work happens on the visitor’s device, which keeps your server free.
We keep improving the merger. New options and fixes appear in your widget automatically, with no plugin to update and no new code to paste.
When the Merge PDF widget is not the right fit
- Password-protected PDFs must be unlocked first. The widget tells visitors this and points them to our free Unlock PDF tool.
- Merging copies pages as they are, so the result can be large. If your upload limit is small, add the Compress PDF widget on the same page.
- Merging hundreds of large scanned PDFs depends on the visitor’s device memory; older phones may struggle.
- On Wix and Google Sites the widget cannot resize itself, because those builders keep embedded code in a closed frame. Set a fixed height there.
Privacy for your visitors
Clients often merge bank statements, ID cards and contracts. With this widget the files are opened and merged inside the visitor’s browser and never uploaded to our server or yours. Nothing is stored, no account is needed, and the widget has no cookies or ads, which is reassuring for CA, legal and visa clients.
Is the merge PDF widget free?
Yes. It is free for any website, with no file limit, no sign-up and no API key. We only ask that you keep the credit line under it.
Can visitors merge images with PDFs?
Yes. JPG, PNG, WebP and iPhone HEIC photos are turned into PDF pages and merged with the PDFs.
Are visitors’ documents uploaded?
No. Merging happens in the visitor’s browser, and the documents never reach any server.
Does the merged PDF keep text sharp?
Yes. Pages are copied as they are, so text stays sharp and searchable.
Will the widget slow my website?
No. It is lazy-loaded, and the PDF engine loads only when a visitor adds a file.
Does it work on mobile?
Yes. Visitors can pick files from their phone and reorder them with clear buttons.
What if a PDF has a password?
The widget shows a message and suggests our free Unlock PDF tool, which also runs in the browser.