Welcome, Hunter! 👋 Enjoy 50% OFF annual plans with code PRODUCTHUNT — limited time ⏳
50% OFF annual plans — code PRODUCTHUNT

How to Add a PDF to Squarespace

Stop sending your website visitors away to open PDFs. Discover how to embed documents directly on your Squarespace pages with a PDF Embed plugin – no coding required.
See what ChatGPT thinks Embed PDF to Squarespace

Did you know?

According to Smallpdf’s 2025 research, 98% of businesses use PDF as their default file type for external communication, with over 2.5 trillion PDFs in circulation worldwide.

Professionally presented PDFs keep visitors engaged on your website longer — whether you’re sharing product specifications, client portfolios, guides, or certificates. The easiest way to embed a PDF on Squarespace is with the PDF Viewer Plugin, which displays documents beautifully with full customization and no coding required. Visitors can view, download, or interact with your PDFs right from your page while your design stays completely under your control.

In this guide, you’ll discover how to:

  • Add downloadable PDFs to Squarespace in a few clicks.
  • Choose the right layout and customization options for your documents.
  • Optimize your PDF Viewer for better visitor engagement and mobile performance.
  • Compare native Squarespace methods with a third-party solution.
  • Troubleshoot common PDF embedding issues.

Below, you’ll find two paths: a quick four-step setup for those ready to launch immediately, and a detailed guide with screenshots for anyone who wants to explore every customization option. Let’s start with the fastest route.

Embed a PDF in Squarespace in 4 Simple Steps

Here’s a fast-track approach to adding PDFs to Squarespace right away:

  1. Open Elfsight’s editor and select a template.
  2. Upload PDF files from your computer or add them by URL.
  3. Customize your PDF Embed plugin.
  4. Copy your embed code and paste it into Squarespace.

🚀 Create your own PDF plugin now in the live editor!

Why This PDF Plugin Works Wonders

Now that you’ve seen how quick & easy it is to embed a PDF in Squarespace without any coding, let’s look at what makes this solution stand out compared to native options:

Key FeatureWhy It Matters
Three layout options for different needsFile Viewer displays PDFs inline with zoom and pagination so visitors read without leaving your page. Grid and List layouts show clickable file icons for cleaner designs.
View documents directly on your pageKeep visitors engaged with the File Viewer layout—no redirect to a new tab means higher engagement and lower bounce rates.
Fully customizable design elementsControl colors, fonts, icon styles, and widths so your PDF widget blends seamlessly with your brand identity.
Multiple ways to add filesUpload from your computer, paste a file URL, or select from recent uploads—whatever’s easiest for your workflow.
Custom icon upload supportReplace the standard PDF icon with your own image or choose from six pre-designed styles in any color you prefer.
Download button includedVisitors can download PDFs directly with a single click, and you control whether the Download label displays.

For a complete breakdown of available functionality, visit the Features Page.

Step-by-Step: Embedding and Customizing Your PDF Plugin

Ready to dive deeper? This section covers everything you need to configure, style, and deploy your PDF Embed on Squarespace, from initial setup to final optimization.

1. Select Your Template

The first step for you to do is to open the PDF editor and choose a template that fits your goals. Three preset layout options are available:

Select PDF Embed template
  • File Viewer displays your PDF right on the page with scrolling, pagination, and zoom controls. Ideal for product manuals, brochures, or detailed documents that visitors want to read without leaving your site.
  • Grid layout shows PDF file icons arranged in a grid. Perfect for displaying multiple documents like case studies, whitepapers, or certificates in a clean, organized format.
  • List layout stacks file icons vertically in a single column. Great for resource libraries, downloadable guides, or document collections where visitors want a straightforward list to browse.
💡 Tip: If you want visitors to actually read PDFs on your page without opening a new tab, choose File Viewer. For cleaner designs where you just want linked downloads, Grid or List work best.

Once you’ve made your choice, click “Continue with this template” to move forward.

2. Add Your PDF Files

Navigate to the ‘Content’ tab and add your documents. You have three options:

  • Upload from computer – Click the upload button and select a PDF file from your device.
  • Add by URL – Paste a direct link to a PDF hosted elsewhere (Google Drive, Dropbox, your own server).
  • Select from recent files – If you’ve added PDFs before, choose from your recently uploaded files.
Upload PDF Files to Widget

You can add unlimited PDFs to the same widget. Click three dots → trash icon to remove files you no longer need.

3. Adjust the Layout and Display Options

Go to the ‘Layout’ tab to control how your PDFs will appear on desktop and mobile devices. Here, you can set:

  • Widget width and height to width ratio
  • Number of columns and rows
  • Spacing between items
  • Icon visibility and style
  • Download label display (visibility and link text)
Choose PDF layout
💡 Tip: When you choose File Viewer layout, make sure to set a height that works for your page. Start with 600-800px and adjust based on your document length. For Grid and List layouts, test on mobile to ensure icons and text remain tappable.

4. Customize Colors and Icon Styles

In the ‘Appearance’ tab, personalize the widget’s styling to match your brand. Depending on the chosen template, you can:

  • Choose a light or dark theme
  • Select icon color or upload your own image as an icon
  • Adjust text colors (widget title, file name, Download label)
  • Set background and widget background colors
  • Customize font sizes for better readability
Customize PDF Viewer Styling
💡 Tip: Use your brand’s primary color for the download button to draw attention. If you’re adding a PDF to Squarespace on a product page, keep colors consistent with your product images for a cohesive look.

Still under ‘Appearance’ tab, you can access Custom CSS and Custom JS fields for advanced control. If you’re not technical – don’t worry. Ready-to-use CSS code examples are available in our Community Forum threads.

5. Generate and Copy Your Embed Code

Once satisfied with your setup, click the green “Add to website for free” button. This generates your unique embed code. Copy the entire code snippet that appears – you’ll need it for the next step.

Get embed code for PDF

6. Final Step: How to Embed a PDF on Squarespace

Now it’s time to paste your PDFs into your Squarespace’s backend. Here’s how:

  1. In your Squarespace editor, open the page where you want to add the PDF.
  2. Click ‘Add Block’ or an insert point on your page.
  3. Select Code from the block options menu.
  4. Make sure the code type is set to HTML.
  5. Paste your Elfsight snippet into the text field.
  6. Click outside the block or press Save to apply your changes.
🔧 Pro Check: If your PDF plugin doesn’t display after pasting the code, confirm you:

  • Pasted the complete embed code. It usually starts with: <div> or <script>
  • Used the Code block, not a Text block
  • Set the block type to HTML
  • Didn’t accidentally edit or truncate the code

PDF Embedding Methods: Comparing Your Options

There’s more than one way to add PDFs to Squarespace pages – each method has different strengths and drawbacks. Here’s how different methods compare:

Squarespace Native Link Method

Squarespace’s built-in file linking system lets you upload a PDF directly and create a download link on any text, button, or image.

  1. Upload your PDF. Go to Pages menu, click the + button, select Link, and upload your file.
  2. Get the file URL. Squarespace generates a URL (e.g., /s/filename.pdf) that you can use on buttons or text links.
  3. Create a link or button. Highlight text or add a button, then attach the PDF link via the link editor.
  4. Test the link. Verify the PDF opens or downloads correctly when visitors click.
📌 Note: Limited viewing experience
This method opens PDFs in a new browser tab using the browser’s native viewer, which takes visitors away from your website. For a 20 MB file size limit, files larger than this must be compressed or hosted elsewhere.

Full details are available in Squarespace’s support documentation.

Google Drive PDF Embed

Upload your PDF to Google Drive and use its embed feature to display it on your Squarespace page using a Code Block.

  1. Upload to Google Drive. Store your PDF in a Google Drive folder or document.
  2. Share and get the embed code. Right-click the file, share it publicly, and copy the embed iframe code.
  3. Add a Code Block to Squarespace. Insert a Code Block on your page and set it to HTML mode.
  4. Paste the embed code. Paste Google Drive’s iframe code into the Code Block.
  5. Preview and publish. Check that the PDF displays correctly, then save your page.
📌 Note: Google Account dependency
Relies on Google Drive uptime and your sharing settings. Some users experience slow loading or occasional connection issues with this method.

More details are available in Google Drive’s sharing and embedding guide.

Lightbox Studio (Third-Party Plugin)

Lightbox Studio is a Squarespace-integrated tool that displays PDFs in a customizable popup viewer when visitors click a link.

  1. Install Lightbox Studio. Add the plugin from the Squarespace App Store and activate it on your site.
  2. Upload your PDF. Use Squarespace’s Link Editor to upload your PDF file.
  3. Create a text or button link. Create a link to the uploaded PDF (ensure “Open in new tab” is unchecked).
  4. Customize the viewer. Use Lightbox Studio settings to choose viewer style (Basic, Standard, Express, Fusion).
  5. Publish your page. When visitors click the link, the PDF opens in a styled lightbox overlay.
📌 Note: Extra plugin required
Adds another dependency to your website and may impact loading speed if heavily used. Best for sites embedding a smaller number of PDFs.

More information is available in the Lightbox Studio Squarespace guide.

How Do These Methods Compare?

MethodBest For 👍Main Limitation 👎
Elfsight PDF EmbedProfessional document display with full customization and File Viewer option to keep visitors on-site.Requires a third-party account for dashboard access.
Squarespace Native LinkSimple downloads and quick file sharing without extra setup.Opens in new tab; no inline viewing or design control; 20 MB file limit per upload.
Google Drive EmbedCost-free inline PDF viewing if you already use Google Drive.Depends on Google’s uptime; can be slow; limited design options.
Lightbox StudioPopup PDF viewers for product pages and document galleries.Adds plugin overhead; best for smaller PDF collections; viewer customization is limited.

📝 Best Practices: Maximize Your PDF Viewer Results

From working with thousands of Squarespace users, we’ve learned that a few focused adjustments make a measurable difference in how effectively your embedded PDFs perform. Here’s our checklist for getting the most from your setup:

  1. Optimize file size for faster loading. Compress your PDFs to 2-5 MB before adding them to your widget. Smaller files load faster and improve your page’s SEO ranking and mobile experience.
  2. Use descriptive file names. Give your PDFs clear names like “Product-Specifications.pdf” or “Client-Case-Study.pdf” instead of generic names. Better naming helps both SEO and user understanding.
  3. Choose File Viewer for engagement. If you want visitors to actually read your PDFs on your site, use the File Viewer layout. Inline viewing reduces bounce rates and increases time on page.
  4. Add a meaningful widget title. Instead of leaving it blank, use a title like “Resource Library” or “Download Our Guide” to guide visitor expectations.
  5. Test on mobile devices. Always preview your PDF embed on phones and tablets. Ensure the File Viewer stays readable and the layout adapts well to smaller screens.
  6. Place PDFs strategically. Add a PDF to Squarespace near relevant content—product manuals near product descriptions, case studies near testimonials, guides on resource pages.
  7. Enable download buttons prominently. If your goal is to collect leads or measure interest, make the download button visible and use your brand’s accent color to draw attention.
  8. Monitor engagement in analytics. Track which PDFs get the most downloads or views in your Squarespace analytics to understand what content resonates most.

These practices work because they address visitor psychology: faster loading keeps attention, clear navigation reduces confusion, and strategic placement ensures your PDFs are discovered.

FAQ: Plugin Issues & Solutions

Here are answers to the most common questions from Elfsight users about embedding PDFs on Squarespace:

Why doesn't my PDF widget show up after I paste the embed code?

The most common reason is that the Code Block isn’t set to HTML mode. Double-check that you selected HTML from the code type dropdown, not Plain Text or Markdown. Also verify you pasted the complete embed code—sometimes it gets accidentally truncated. If the widget still doesn’t appear, check your browser console for errors, clear your browser cache, and try again.

Can I add a PDF to Squarespace if the file is larger than 20 MB?

Squarespace’s native file upload limit is 20 MB, so files larger than this must be compressed or hosted elsewhere. You can either reduce the PDF’s file size using a free tool like Smallpdf.com, or upload the PDF to Google Drive or Dropbox and embed it from there using the URL method in Elfsight’s PDF Embed widget.

Does embedding a PDF affect my Squarespace page speed?

Well-optimized PDFs (2-5 MB) have minimal impact, especially with the File Viewer layout which loads pages efficiently. However, very large PDFs or multiple heavy embeds on one page can slow loading. Always compress files before uploading and consider using lazy loading by placing PDFs below the fold on long pages.

Can visitors download PDFs I embed with Elfsight's plugin?

If you’re wondering how to add a downloadable pdf to Squarespace: the File Viewer layout includes a download button by default, which you can toggle on or off in the Layout settings. If you want to prevent downloads entirely, use Grid or List layout instead, which doesn’t include download functionality—though this limits user options.

How do I update a PDF after I've already embedded it on my page?

If you uploaded the PDF directly to Elfsight, go back to the PDF Embed editor, delete the old file from the Content tab, and upload the new version. Your embed code stays the same, so the widget will automatically display the updated PDF. If you used a URL (like from Google Drive), simply replace the file at the source and it will update automatically.

Is embedding a PDF good for SEO on my Squarespace site?

Yes, when done correctly. Google crawls and indexes PDFs, and having rich content like PDFs on relevant pages can improve time-on-page metrics, which is a ranking factor. However, text on your actual page matters more than text in PDFs for SEO—use PDFs to supplement page content, not replace it. Add descriptive page text around your embedded PDFs to maximize SEO benefit.

Can I embed multiple PDFs on one page?

Absolutely. You can add as many PDF Embed widgets as you need to a single Squarespace page. Create separate widgets for different document collections to keep your design clean and organized.

Does the File Viewer layout work well on mobile?

Yes, File Viewer is responsive and adapts to mobile screen sizes automatically. Visitors can still zoom, scroll, and paginate through PDFs on phones. We recommend testing on a few mobile devices to ensure the viewing experience feels natural and the text remains readable without excessive zooming.

Next Steps: Embed PDFs and Boost Engagement

Adding PDFs to your Squarespace website with a no-code custom PDF Viewer transforms how visitors interact with your content. Whether you’re sharing product guides, case studies, certificates, or resource libraries, embedded documents keep your audience engaged and on your website – turning casual browsers into informed customers and leads.

Have questions, feedback, or want to share how you’re using PDF embeds? Join our active Community Forum or reach out to our support team – we’re always happy to help you get the most from your widgets. Ready to take your Squarespace content to the next level? Embed your first PDF today.

Article by
Content Manager
Hi, I’m Kristina – content manager at Elfsight. My articles cover practical insights and how-to guides on smart widgets that tackle real website challenges, helping you build a stronger online presence.