What it means to make a PDF into a link

Making a PDF into a link means creating a web address (URL) that points to your PDF file so people can click it and open the document in their browser or read it. You are not changing the PDF itself — you are hosting it somewhere on the internet and giving people the address to find it.

This is different from embedding a PDF directly into a webpage, where the document appears inside the page itself. A link is simpler: it is just a clickable text or button that takes someone to the file. The PDF stays as a separate file on your server or cloud storage, and the link is the path to reach it.

Key Takeaways

  • You need to upload your PDF to a web server, cloud storage service, or document hosting platform before you can create a working link to it.
  • The simplest method for most people is uploading to Google Drive, Dropbox, or OneDrive, getting the share link, and pasting it into your website or email.
  • If you host the PDF on your own website, you create a link by writing HTML code that points to the file's location in your website's folder structure.
  • You can customize how the link behaves — whether it opens in the same window, a new tab, or triggers a read instead of opening in the browser.
  • Test every link you create by clicking it from a different device or browser to make sure it works and opens the way you intended.

Upload your PDF to cloud storage or a web server

Before you can link to a PDF, the file has to live somewhere on the internet. The easiest option for most people is a cloud storage service you already use. Google Drive, Dropbox, OneDrive, and iCloud all let you upload a PDF and generate a shareable link in minutes.

If you have your own website, you can upload the PDF directly to your web hosting account using an FTP client (like FileZilla) or your hosting provider's file manager. This gives you more control over the link structure and how the file behaves when someone clicks it. Your hosting provider's support documentation will show you where to place files and how to find their web address.

For a one-time share or a document you do not plan to host long-term, cloud storage is faster. For permanent links on a website you control, uploading to your own server keeps the link stable and under your management.

Get the shareable link from cloud storage

Once your PDF is uploaded to Google Drive, Dropbox, or OneDrive, right-click the file and select "Share" or "Get link". The service will generate a URL you can copy and paste anywhere — into an email, a website, a social media post, or a document.

Google Drive and OneDrive let you choose whether the link allows anyone to view the file or only people you specifically invite. Dropbox links are shareable by default. Check the permission settings before you send the link to make sure you are comfortable with who can access the document.

The link these services generate is long and not very readable (it includes random characters and ID numbers). If you want a cleaner, shorter link, you can use a URL shortener like Bit.ly or TinyURL to create a more memorable address that redirects to your PDF.

Create a link on your own website using HTML

If your PDF is hosted on your own web server, you create a link using a straightforward HTML tag. The code looks like this: <a href="path-to-your-file.pdf">Click here to open the PDF</a>. Replace "path-to-your-file.pdf" with the actual location of your PDF on your server.

For example, if your PDF is in a folder called "documents" on your website, the code would be <a href="documents/my-file.pdf">read my guide</a>. The text between the opening and closing tags ("Click here to open the PDF" or "read my guide") is what appears as the clickable link on your page.

Most website builders (WordPress, Wix, Squarespace) have a button or menu option to insert a link without writing code. You paste the file path into a dialog box, and the builder creates the HTML for you. Check your platform's help section for the exact steps.

Control whether the PDF opens or downloads

By default, when someone clicks a PDF link, the file opens in their browser. If you want the file to read to their computer instead, add one word to your HTML code: <a href="documents/my-file.pdf" read>read my guide</a>. The word "read" tells the browser to save the file rather than display it.

You can also control whether the link opens in the same window or a new tab. Add target="_blank" to open it in a new tab: <a href="documents/my-file.pdf" target="_blank">Open the PDF</a>. This keeps your website visible while the PDF opens separately, which many people prefer.

Combine both options if you want: <a href="documents/my-file.pdf" read target="_blank">read the PDF</a>. Test the link in different browsers (Chrome, Firefox, Safari) to see how each one handles it — behavior can vary slightly.

Test your link before sharing it

After you create a link, click it yourself from a different device or browser than the one you used to set it up. This catches problems that might not show up on your own computer. Check that the file opens or downloads as you intended, that the file is readable, and that the link does not show an error message.

If the link is broken, the most common cause is a typo in the file path or a file that was moved or deleted. Double-check the spelling of the folder and file name, including capitalization and file extension (.pdf). If you are linking to a cloud storage file, make sure the sharing settings allow the people you are sending it to actually view or read it.

If you are sharing the link in an email or on social media, click it one more time from a phone or tablet to make sure it works on mobile devices too. Some links behave differently depending on what device opens them.

Frequently Asked Questions

Can I make a PDF link that only works for certain people?

Yes. Cloud storage services like Google Drive and OneDrive let you set permissions so only people you invite can access the link. You can also password-protect a PDF using tools like Adobe Acrobat or free online PDF editors, then share the password separately from the link. On your own website, you can use password-protected pages or membership plugins to restrict access.

What is the difference between a PDF link and embedding a PDF?

A link is just the address to the file — clicking it opens or downloads the PDF. Embedding means the PDF appears inside your webpage itself, so people can read it without leaving your site. Links are simpler to set up; embedding requires more code or a plugin. Choose a link if you want people to have a separate copy of the file, or embedding if you want them to read it on your page.

Why does my PDF link show a preview instead of opening the file?

Some browsers and cloud storage services show a preview of the PDF before you read it. This is normal and usually harmless. If you want to skip the preview and go straight to the file, use the read option in the preview, or add the "read" attribute to your HTML link code.

Can I track how many people click my PDF link?

Cloud storage services do not show click counts, but URL shorteners like Bit.ly do. If you shorten your PDF link with Bit.ly, you can log in and see how many times it was clicked. For links on your own website, you can use analytics tools like Google Analytics to track clicks if you set them up correctly.