Media

Uploading Documents

If you are using the block editor, please refer to the File Block to use this feature on your site.

You can upload documents like PDF files to your WordPress.com site. For a list of file types we support, see Accepted File Types.

Do you want to embed a PDF file instead? See Embedding a PDF File.

Table of Contents

From Your Computer

The following process describes uploading a document from your computer to your blog’s Media Library and inserting a download link into a post or page.

  1. Go to My Site(s) → Site → Media.
  2. Click on the Add New icon found in the top left corner:
    Add new Media button
  3. Choose a file (or multiple files) from your computer to upload.
  4. Once the file has finished uploading, click the Edit button.
  5. Click the ‘Copy’ button to copy the file URL to your clipboard:
Image showing how to Copy the file URL
Copy the file URL

Now that you have the URL, you can insert this as a link or a button on any post or page.


↑ Table of Contents ↑

From a URL

The following process describes inserting a download link to a file that already exists on another web site. This method will not upload the document/file to your blog’s Media Library. This means that if the file is removed from its location, your link will appear broken. This is not recommended unless you know the file will always be available at the specified location.

  1. Go to My Site(s) → Site → Media
  2. Click on the chevron symbol next Add New and click Add via URL (found in the top left corner):
    Image of Add new Media via URL option
  3. Enter the URL and click Upload.
  4. Once the file has finished uploading, click the Edit button.
  5. Click the ‘Copy’ button to copy the file URL to your clipboard:
Image showing how to Copy the file URL
Copy the file URL

Now that you have the URL, you can insert this as a link or a button on any post or page.


↑ Table of Contents ↑

Sometimes you need to dress up a download link with an image like this:

If you are using the Classic Editor, you can upload an image of a button and link that image to a PDF or other file. When your readers view your page, they can click on the button to grab your .pdf download.

Using the block editor? Use a button block instead!

  1. First, you’ll want to upload your document to your Media Library as directed above.
  2. Then, select the document from the list of uploaded files and choose Edit at the bottom left corner of the window. There, you’ll be able to copy the document’s link.
    copy-link-media-library
  3. Upload an image of a button and insert it into any page or post.
  4. Finally, follow the Image Links guide using your newly acquired file URL to link the button image to the file URL.

↑ Table of Contents ↑

From the WP Admin Media Library

Note: The instructions from this guide are referring to the WP Admin dashboard. You can get to this dashboard by adding /wp-admin to the end of your site’s url (e.g.: example.wordpress.com/wp-admin)

The following process describes inserting a download link to a file which already exists in your Media Library.

  1. In the WP Admin dashboard, go to Posts → Add New or Pages → Add New.
  2. Click on the Add Media icon found directly above your editor.
    wp-admin-add-media
  3. Click on the Media Library tab.
  4. Locate the file you wish to add and click on it once.
  5. Select the Media File option under Attachment Display Settings (the type of link you choose will be saved for next time).
    link-to-media-file
  6. Click the Insert into post button.
  7. You should now have a working download link to the file in your new post or page.
Still confused?

Contact support.

Not quite what you're looking for?

Get Help