How to Upload PDF to WordPress (step-by-step)
Upload through the Media Library, then embed the PDF with the File block or add a direct download link.

Are you wondering how to upload PDF files to your WordPress site?
WordPress lets you upload a PDF through the Media Library, the same way you’d upload an image, with no plugin needed. From there you can embed it in a post or page, or link to it as a download.
Whether you want to grow your email subscribers, share printable guides, or create a members-only area, uploading PDF files can help you achieve these goals.
Benefits of Uploading PDF Files in WordPress
There are several benefits to uploading PDF files on your WordPress website. First, you can repurpose your existing content by converting long guides and tutorials into PDF files. This allows you to offer exclusive content to your users or use it to build an email list.
Second, PDFs suit content people want to save, print or share, like checklists, worksheets and printable guides.
Finally, you can use PDF files to offer exclusive members-only premium content for your paying subscribers. This is particularly useful if you have a course or membership site.
Now let’s get into uploading a PDF to WordPress.
How to Upload PDF Files in WordPress
Uploading PDF files in WordPress is a straightforward process and doesn’t require any plugins.
1. Log in to your WordPress admin area.
2. From here go to “Media” and click the “Add Media File” button. (Older versions of WordPress label it “Add New,” as in the screenshot below.)

3. On the Upload Media screen, drag and drop your PDF file into the upload area, or click the “Select Files” button to upload it.

4. Once the upload is complete, your PDF file will be available on your WordPress site. Click the “Copy URL to clipboard” button to grab your newly uploaded PDF’s URL.
Adding a PDF to a Post or Page
After uploading your PDF file, you’ll want to add it to your posts or pages. WordPress offers two options for displaying PDF files: embedding them with the File block or providing a download link.
To embed a PDF in WordPress:
1. Edit the post or page where you want to add the PDF file.
2. Click the “+” block inserter button to add a new block.

3. Select the “File” block from the options.
4. Click the “Media Library” button to choose your uploaded PDF file. (You can also click “Upload” to add a PDF straight from your computer.)
5. Once you’ve selected the file, click “Select” to continue.
WordPress will automatically embed the PDF file in your post or page, and you’ll see a live preview of it in the editor.

If you prefer to show a download link instead of embedding the full PDF, turn off the “Show inline embed” toggle under “PDF settings” in the block settings sidebar. The “Show download button” toggle controls whether a download button appears next to the file name.
Preview the changes and, if you’re satisfied, publish the post or page.
You can also link to a PDF by copying its URL from the “Media” tab in the WordPress dashboard.

Find your PDF and click it to open the attachment details, then click “Copy URL to clipboard.”
With the link in your clipboard, select some text in your post and paste the URL to turn that text into a link. You can also paste it anywhere else you’d normally add a link in WordPress.

Advanced PDF Usage in WordPress
Once your PDFs are live, these tips will help them do more for your WordPress site.
1. Optimize for Search Engines (SEO)
Google can index PDFs and lists them among the file types it supports. Still, a visitor who lands on a PDF from search never sees the rest of your site, so it pays to support each PDF with a regular page.
To improve the SEO of your PDFs:
- Use clear, descriptive file names before you upload. Instead of “document1.pdf,” use something like “wordpress-seo-checklist.pdf.”
- Don’t rely on the PDF alone. Include a brief summary or introduction on the page where the PDF is embedded or linked, which gives search engines context about the file.
- If your PDF is image-heavy (like a scanned document), run it through Optical Character Recognition (OCR) software to make the text searchable. Many PDF editors include OCR and accessibility features.
2. Track PDF Downloads with Google Analytics
Want to know how many people are downloading your PDFs? If your site uses Google Analytics 4, it may already be tracking them. GA4’s enhanced measurement logs a file_download event when someone clicks a link to a PDF on your site, and these events are on by default.
A few things to know:
- GA4 only sees clicks on your own pages. Someone who opens the PDF straight from a search result or an email won’t be counted, because the PDF itself can’t run your analytics code.
- Some Google Analytics plugins for WordPress, like MonsterInsights, include their own file download tracking and show the results in your dashboard.
- As a fallback, you can send people to a dedicated “Thank You” page after they request the PDF and track visits to that page instead. This is simpler, but less precise.
3. Enhance the User Experience
- Don’t just embed the PDF and hope people find it. Add a clear call-to-action button or text link, like “Download Our Free Guide” or “Get the PDF Checklist.”
- Make sure your PDFs are easy to read on mobile devices. Design them with phones in mind (larger fonts, clear layouts), or use a responsive PDF viewer plugin if necessary.
- While WordPress’s built-in File block works, a dedicated PDF viewer plugin can offer a richer experience. Granted, I prefer to just link to the PDF so users don’t need to fiddle with an embedded viewer. Viewer plugins often provide features like:
- Zoom controls
- Page thumbnails
- Full-screen mode
- Search functionality within the PDF
- Improved mobile responsiveness
4. Use PDFs for Lead Generation
- Grow your email list by offering valuable PDFs (checklists, ebooks, templates) in exchange for an email address. PDFs are a classic lead magnet and a great way to grow your audience. Use a form plugin (like Contact Form 7, WPForms, or a dedicated lead generation plugin) to capture email addresses before granting access to the download.
- PDFs are perfect for members-only content. Use a membership plugin to restrict access to pages containing your exclusive PDF downloads.
- You can even sell PDFs, like ebooks, templates or guides, as premium content.
5. Maintain Brand Consistency
- Match your PDFs to your website’s branding with your logo, brand colors, and consistent fonts.
- Add alt text for images inside the PDF so it works for screen reader users.
- If you work with sponsors, prepare a branded media kit as a PDF.
With these tips, your PDFs can do more than sit in the Media Library: they can drive engagement, grow your email list, and even earn revenue.
Conclusion
By following these steps, you can quickly and easily showcase your uploaded PDF files on your WordPress site. However, if you want more advanced features and better PDF viewers, consider using a WordPress PDF plugin. (See our list of best free WordPress plugins for more recommendations.)
Now that you know how to upload PDF files to WordPress, you can use them to round out your content and give your audience something worth downloading.
RightBlogger Co-Founder Andy Feliciotti focuses on website development and shares practical tips to help people build better websites.
Automated SEO Blog Posts for Your Site
Research, write, publish, and share from one account.
7-day free trial. Cancel anytime.









Leave a comment