Trusted WordPress tutorials, when you need them most.
Beginner’s Guide to WordPress
WPB Cup
25 Million+
Websites using our plugins
16+
Years of WordPress experience
3000+
WordPress tutorials
by experts

How to Upload PDF Files to Your WordPress Site

Uploading PDF files to your WordPress site can be very useful. WordPress allows you to upload PDFs and make them easily available for download.

We have used PDF downloads in many different ways, including to grow our email subscriber list and sell digital downloads in a members-only area. PDFs offer a versatile way to share content and engage your visitors.

This tutorial will show you how to upload PDF files to your WordPress site. We’ll also discuss how to use PDFs to grow your email list, accept user-generated content, or create a members-only area.

How to upload PDF files in WordPress

Why Upload PDF Files in WordPress?

PDFs are one of the most popular file formats, and uploading them to your WordPress website has many benefits.

We have successfully used PDFs as lead magnets to grow email subscribers on our websites, including WPBeginner (Case study: See proven and tested methods we use at WPBeginner to grow our email list).

Uploading PDF files can also boost user engagement. Allowing visitors to download PDFs and complete actions can help reduce a high bounce rate.

You don’t need to create new content. You can repurpose your existing long-form content or combine several articles into one to make a highly useful download. This strategy keeps users on your site longer and encourages interaction with your content.

PDF files are also great for offering exclusive members-only premium content. You can use them as part of your online course or membership site to provide additional value to your paying subscribers.

Now, let’s see how to upload PDF files in WordPress.

Video Tutorial

Subscribe to WPBeginner

If you prefer written instructions, then keep reading.

How to Upload PDF Files in WordPress

If you are looking to upload a PDF file and share it with everyone on your site, then this is the easiest method because it works without installing any plugins.

Uploading PDF files in WordPress is similar to uploading images and other media files on your WordPress website.

To get started, you need to log in to your WordPress admin area and then go to Media. After that, click the ‘Add New’ button.

click the add new button

Simply drag and drop your PDF file into WordPress.

Or, you can click the ‘Select Files’ button to upload it.

drop files to upload

After that, the PDF file will be uploaded to your WordPress blog.

How to Add a PDF File to a Post or Page in WordPress

Once you have uploaded the PDF file, the next thing to do is add it to your posts or pages.

WordPress allows you to easily embed PDF files or show them as links that users can click to download the files.

To get started, you need to edit the post or page where you want to add the PDF file.

On the post edit screen, you must click on the ‘+’ add block button and then add the File block to the content area.

Next, click the ‘Media Library’ option.

This will bring up a popup where you can select the PDF file to add to the post or page.

Media library select PDF

Click ‘Select’ to continue.

WordPress will now automatically embed your PDF file in your post or page. You will also see a live preview of the PDF embed in the editor.

PDF embed settings

If you only want to show the download instead of the full PDF embed, then you can turn off the toggle next to the ‘Show inline embed’ option in the block settings.

Once you are satisfied with the changes, preview the PDF file upload and then publish it.

PDF file embed preview

This is the quickest and simplest way of showing your uploaded PDF files on a WordPress site.

However, if you want to display PDF documents with more options and better PDF viewers, then you will need a WordPress PDF plugin.

We recommend using the WP PDF Embedder plugin, which lets you easily embed mobile-friendly PDF files in WordPress. The PDF viewer comes with a toolbar so users can zoom in, navigate to specific page numbers, enter fullscreen mode, download PDFs, and more.

There’s also a free version of WP PDF Embedder that you can get started with.

For more information, follow our detailed guide on how to embed PDFs, spreadsheets, and others in WordPress blog posts.

Pro Tips for Making the Most Out of Your PDF Uploads

After uploading a PDF file, there’s a lot more that you can do.

Here are some pro tips on how to use your PDF uploads to grow your email list, measure the number of downloads, allow users to upload PDF files, or even sell PDF downloads as premium content.

1. Offer Content Upgrades to Build Your Email List

One of the fastest ways to grow your email list is by offering content upgrades to website visitors.

Content upgrades are bonus content that people can download in exchange for their email addresses. You can turn your blog posts into PDF files and then allow users to download them when they sign up for the email list.

content upgrade example

The easiest way to add content upgrades in WordPress is with OptinMonster.

It’s the best lead generation plugin that allows you to create beautiful opt-in forms like popups, in-content signup forms, floating bars, scroll boxes, etc.

Using their drag-and-drop builder and different pre-built templates, you can build and show a content upgrade option in just a few clicks.

Here’s an example of the results of content upgrades from one of our other websites:

Content Upgrade stats

The OptinMonster blog has even more content upgrade ideas that you can use to get more email subscribers.

2. Measure PDF Download Stats in WordPress

As you start to offer different PDF files for downloads, it is important to find out which files are performing well and which are not.

To measure PDF file downloads in WordPress, you can use MonsterInsights. It’s the best Google Analytics plugin for WordPress, used by over 3 million websites.

Once enabled, it automatically tracks file downloads on your site.

MonsterInsights Top Download Links report helps you see which PDF files get the most downloads. You can use this information to create more PDF documents on similar topics.

monsterinsights top download links

3. Allow Users to Upload PDF Files

You can upload PDF files in WordPress yourself or allow users to submit PDF files to your site without giving them admin access.

To do this, you need to create a file upload form. We recommend using WPForms, the best WordPress contact form plugin used by over 6 million websites.

Once activated, you simply need to create a file upload form using WPForms and let users submit PDF documents.

file upload form preview

4. Create Members-Only PDF Documents area

If you want to sell PDFs as digital downloads or upload premium PDF content to a members-only area, then you can do it in WordPress using a membership plugin.

We recommend using MemberPress, the leading membership platform that allows you to create courses, add members-only content, and more.

We have created a complete step-by-step guide on how to create a membership site in WordPress.

We hope this article helped you learn how to upload PDF files to your WordPress site. You may also want to go through our guide on how to create an email newsletter or how to make money from WordPress.

If you liked this article, then please subscribe to our YouTube Channel for WordPress video tutorials. You can also find us on Twitter and Facebook.

Disclosure: Our content is reader-supported. This means if you click on some of our links, then we may earn a commission. See how WPBeginner is funded, why it matters, and how you can support us. Here's our editorial process.

Editorial Staff

Editorial Staff at WPBeginner is a team of WordPress experts led by Syed Balkhi with over 16 years of experience in WordPress, Web Hosting, eCommerce, SEO, and Marketing. Started in 2009, WPBeginner is now the largest free WordPress resource site in the industry and is often referred to as the Wikipedia for WordPress.

The Ultimate WordPress Toolkit

Get FREE access to our toolkit - a collection of WordPress related products and resources that every professional should have!

Reader Interactions

30 CommentsLeave a Reply

  1. Jeanne

    Hello!
    When I upload an interactive pdf file to the Media Library, the area of the document that has the clickable links is totally blacked out. It looks fine and the links work when I open it from my computer. Any idea why this is happening?
    Thank you,
    Jeanne

  2. Neil Jones

    Excellent work! It works. many others are out of date and ask you to add useless plug-ins. Thank you for saving an afternoon’s work!

    • WPBeginner Support

      Glad our guide was able to help!

      Admin

  3. Harriet

    Thanks for the article! Is there a limit on how many pdfs can be uploaded on certain plans? (i.e no more than 5000 pdfs, no more than 1000MB in total, etc.)

    • WPBeginner Support

      While there is a limit, it would depend on your hosting and how quickly a file of that size would load for your visitors.

      Admin

      • Harriet

        Thank you for letting me know! Would it be possible to get more information on that limit so I can make an informed decision about adopting Wordpress or not? Ideally I would like to know if it would be feasible to host 2000+ documents of approx 200KB-1MB each.

        • WPBeginner Support

          As there are many different hosting providers and plans, you would need to reach out to the host you are looking to use and they can let you know their specifications.

  4. Karen Tankersley

    When I upload the pdf into the media library and then place it in the post, it puts not only the name and download button but the entire PDF is shown above the link. How can I not have the actual document show and only have the link show? I don’t see any way to eliminate the document from being shown. Am I missing something?

  5. Gin

    Hi,

    I’m trying to figure out why once I deleted a PDF file from my media library in WordPress, the URL link to the PDF is still working and showing the document. Once I delete the PDF shouldn’t that URL no longer be accessible?

    • WPBeginner Support

      That would delete the file from your site, you would want to ensure you clear the caching on your site to ensure you’re not seeing the cached version of the file.

      Admin

  6. Sam Onuegbu

    Thank you for this tutorial.

    I’d like to know if hosting PDFs on my WordPress site will slow the site speed in anyway?

    • WPBeginner Support

      Only if you start to run low on your hosting provider’s storage space for your site.

      Admin

  7. Anjana

    Hi…I am trying to upload a pdf file size as small as just 3.5mb, but it’s unable to upload on my WordPress website. I also tried uploading it through internet explorer but it won’t work. Also, I tried by changing the file location on my pc. Please suggest how to upload the file.

  8. Sheila Goldberg

    I am trying to upload a PDF to my Word Press site but it says it’s too large to preview. It’s about 750mb. Is there some way for me to get the PDF on my website?

    • WPBeginner Support

      For a file that large, if you are unable to reduce the file size, we would recommend having the file on a third-party service like Google Drive or Dropbox and embedding a download link on your site.

      Admin

  9. Gabor Szendrei

    Hello,

    I am trying to find download count for a PDF I uploaded to a blog post.

    I did not install any plugin to track downloads – I guess I just assumed that this would be easier to figure out.

    Godaddy hosts the site and they want to charge me $50 to investigate.

    Google searches keep taking me to plugins I could download, but none seem to be able to retroactively tabulate downloads.

    Any help would be much appreciated!

    Thank you,

    Gabor

    • WPBeginner Support

      We do not have a recommended method for retroactively counting downloads at the moment.

      Admin

  10. rahul sharma

    hi,
    the WordPress plugin “Google Doc Embedder” is retired (only the gview shortcode is still working ).

    please suggest a few more plugins to make it more easy and secure in terms of upload or download.

    thanks

  11. Glenda

    We use WordPress for our blog. The blog is maintained by one individual but the posts are written by numerous other people and emailed to the person in charge of maintaining the blog. Our posts are written with images placed in specific areas within the text, some have frames, and some have citations with the image. They are written using Word with images inserted into the appropriate place within the text.

    The problem is that the person maintaining the blog says she has to Copy&Paste the text and go back and add the images manually since there are only blank spots where the images should be. This causes issues with the posted blog not being the same as the written blog, since there is an issue with sizing, the framing, and citation placement for the image.

    It has been suggested that we convert the word doc to a .pdf file and post it, but I don’t see anything on the WordPress site that tells me the document will appear in the blog in the same layout as the original (images in exact location, same size, framing, and citations in place). Or if we would still need to load the images separately.

    Also, if there is a way to upload the Word doc as written into WordPress without the image issues PLEASE let me know what that would be.

    Please help,

    • WPBeginner Support

      Hi Glenda,

      Unfortunately, there is no reliable way to do that. You can add users to your WordPress blog and assign them Contributor user role. Contributors can add new post and edit their own posts but they cannot publish them. They will be able to write inside WordPress admin area and save their work.

      The person responsible of maintaining the blog can review their articles and publish them.

      Admin

  12. Maureen

    I started a blog recently and this site has proved to be very useful. But I have a question regarding file uploads. What if the file I want for download is not just pdf but like psds and other files. Can I do that too? Or will I need to register to another file hosting provider if I have too many to upload? Because that will eat a lot of space. What is your suggestion on that?

  13. Leighann

    Thank you so much–this tutorial was an answer to prayers, seriously!

  14. Rosana

    Hello!

    I am trying to upload a pdf into a post using the fist method.

    So far so good, everything works like it should but the pdf title has special characters and the link created by wordpress looks normal inside post editor. But when published it shows some errors like extra spaces between characters.

    If I copy and past the link into a plain text editor I can see some erros and if I delete the special characters inside post editor and type again it works fine.

    That would solve the problem but I will be inserting some files and I wish I could rely on something else than typing every special character by myself.

    In the past wordpress had problems dealing with text pasted from word. Is it the case?

    Can you help me, please?

  15. Mariam

    I would like to learn how to use wordpress and want to install it on my personal computer. Is this possible
    …and. What is wamp…do i need this too?
    I have windows 10 are they compatible?

Leave A Reply

Thanks for choosing to leave a comment. Please keep in mind that all comments are moderated according to our comment policy, and your email address will NOT be published. Please Do NOT use keywords in the name field. Let's have a personal and meaningful conversation.