Creating a link to a PDF depends on where you want the link to live
A link to a PDF is a clickable piece of text or an image that opens a PDF file when someone clicks it. The steps change depending on whether you're linking from a website, an email, a Word document, or a Google Doc. The core idea is the same: you're telling the program where the PDF file lives and what text or image should be clickable.
If the PDF is on your computer and you want to share it, you'll need to upload it to the internet first — or link to it on a shared drive that the person you're sharing with can access. If it's already online, you just need the web address (called a URL) and the right syntax for wherever you're putting the link.
Key Takeaways
- A PDF link requires the file's web address (URL) and the text or image you want to be clickable.
- If your PDF is only on your computer, you'll need to upload it to a cloud service like Google Drive or Dropbox before you can link to it from a website or email.
- In HTML, use <a href="url-to-pdf">link text</a>; in Word or Google Docs, use the Insert menu and paste the PDF's web address.
- Test every link after you create it to make sure it opens the correct file and doesn't show an error.
Getting the PDF's web address
Before you can create a link, you need to know where the PDF lives on the internet. If the PDF is already online — on your website, in Google Drive, or on Dropbox — you can get its address directly. If it's only on your computer, you'll need to upload it first.
To find the web address of a PDF that's already online, right-click on the PDF file or the link to it and select "Copy link" or "Copy link address" (the exact wording depends on your browser). Paste it into a text editor or notepad so you can see the full address. It should start with http:// or https:// and end with .pdf.
If your PDF is in Google Drive, right-click the file, select "Share," change the permission to "Anyone with the link" or "Viewer," and copy the sharing link. If it's in Dropbox, right-click the file and select "Copy Dropbox link." These services give you a shareable address that works even if the file isn't publicly visible.
Creating a link in HTML
If you're building a website or editing HTML directly, creating a PDF link is straightforward. Use the anchor tag with the href attribute pointing to the PDF's web address.
The basic format is: <a href="https://example.com/document.pdf">Click here to download the PDF</a>. Replace the URL with your PDF's actual web address and replace "Click here to download the PDF" with whatever text you want the reader to see and click.
If you want the PDF to open in a new browser tab instead of replacing the current page, add target="_blank" to the tag: <a href="https://example.com/document.pdf" target="_blank">Click here to download the PDF</a>. This is often better for user experience because readers don't lose the page they were on.
Creating a link in Microsoft Word
Open your Word document and type the text you want to be clickable. Highlight that text, then go to the Insert menu at the top and select "Link" (or press Ctrl+K on Windows, Cmd+K on Mac).
A dialog box will open. Paste the PDF's web address into the "Address" field. If the PDF is on your computer and you want to link to it locally, click "Browse" and navigate to the file on your hard drive — Word will create a relative link. If the PDF is online, paste the full web address starting with https://.
Click OK. The text will now be blue and underlined, showing it's a link. When you or someone else opens the document and clicks that text, it will open the PDF.
Creating a link in Google Docs
In Google Docs, highlight the text you want to be clickable. Press Ctrl+K (Windows) or Cmd+K (Mac), or go to Insert and select "Link."
A small box will appear. Paste the PDF's web address into the field and press Enter. The text will turn blue and underlined. Unlike Word, Google Docs doesn't let you link to files only on your computer — the PDF must be online or in a shared drive that the reader can access.
If the PDF is in Google Drive, you can search for it by name in the link dialog instead of pasting the full URL. Type the filename and Google Docs will show you matching files from your Drive.
Creating a link in email
Most email programs work like Word or Google Docs. In Gmail, type your message, highlight the text you want to link, and click the link icon (it looks like a chain link) in the toolbar. Paste the PDF's web address and click "Apply."
In Outlook, highlight the text, go to the Insert tab, and click "Link." Paste the PDF's web address and click OK. In Apple Mail, highlight the text, right-click, and select "Add Link," then paste the address.
Remember that email readers need to be online to click the link and open the PDF. If you want someone to have the PDF without internet access, attach the file directly to the email instead of linking to it.
Testing your link before sharing
After you create a link, click it to make sure it actually opens the PDF you intended. A common mistake is copying the wrong URL, especially if you have multiple PDFs open at once.
Check that the PDF opens in a reasonable amount of time — if it takes more than a few seconds, the file might be too large or the web address might be wrong. If you see a 404 error or a blank page, the link is broken. Go back and verify the web address character by character, because even a small typo will break the link.
If you're sharing the link with others, ask one of them to test it too. They might have different permissions or browser settings that affect whether the link works for them.
Frequently Asked Questions
Can I link to a PDF that's only on my computer?
Not directly from a website or email. The PDF must be on the internet or on a shared drive that the person clicking the link can access. Upload it to Google Drive, Dropbox, or your web server first, then link to it there.
What's the difference between linking to a PDF and attaching it?
A link is a clickable address that opens the file in a browser or PDF reader. An attachment is a copy of the file sent with an email. Links are better for files you want to share widely; attachments are better for one-time sharing or when you want to make sure someone has the exact version.
Why does my PDF link show a preview instead of opening the file?
Some browsers and email programs preview PDFs inline instead of opening them in a separate window. This is normal and usually fine. If you want to force a download instead, you can add download to the HTML tag: <a href="url.pdf" download>Download PDF</a>.
Can I link to a specific page inside a PDF?
Yes, but only if you're using HTML. Add #page=3 to the end of the URL to jump to page 3: <a href="https://example.com/document.pdf#page=3">See page 3</a>. Not all browsers support this, so test it first.
What if the person I'm sharing the link with can't open it?
Check that they have permission to access the file. If it's in Google Drive or Dropbox, make sure the sharing settings allow them to view it. If it's on a website, verify the link is public. Ask them what error message they see — that will tell you whether it's a permission issue, a broken link, or a problem with their PDF reader.