How to Link to a Specific Page or Section of a PDF in SharePoint
Question details
The user wants to create a direct hyperlink that opens a PDF stored in a SharePoint document library to a specific page or heading, bypassing the start of the document.

- Product
- SharePoint PDF Viewer
- Device & OS
- not provided
- Scenario
- Distributing training materials or long PDF documents via SharePoint and directing users to exact sections for easier navigation.
- Observed behavior
- Adding a #page parameter can fail if the URL is too long, if standard SharePoint sharing links are used instead of direct paths, or if the browser (like Edge) forces the PDF to open at the last viewed location.
Ensure you have the direct file URL for the PDF rather than a standard SharePoint web-sharing link, as URL page fragments will only work on direct paths ending in '.pdf'.
Append a Page Fragment Parameter to the Direct URL
The most common method for jumping to a specific page is appending a hashtag and page number directly to the file's URL.
This method works best when linking directly to the source file. It relies on the web browser's native PDF viewing capabilities to interpret the page number.
Navigate to your SharePoint document library, select the PDF file, and open the Details pane. Copy the 'Path' or 'Direct Link' that specifically ends with the '.pdf' extension.
Paste the URL into a text editor and append '#page=X' to the very end of the URL, replacing 'X' with your target page number (e.g., file.pdf#page=5).
Copy the updated URL and use it in your SharePoint List hyperlink column, emails, or intranet pages.

Use Named Destinations for Specific Headings
If you need to link to a specific heading rather than a page number, you can use named destinations within the PDF.
Bypass URL Length Limits with an Internal Table of Contents
When direct URLs exceed the 255-character limit or browsers inconsistently handle URL fragments, an internal navigation structure is the most reliable fallback.
Create Interactive PDFs with Bookmarks using WPS Office
To avoid broken SharePoint URL links and browser compatibility issues, use WPS Office to prepare your PDFs before uploading. You can easily insert internal links, bookmarks, and a Table of Contents to ensure users always find the right section.
- 1. Open your Document: Launch WPS Office and open your target PDF file or the original Word document.
- 2. Add Navigation Points: Navigate to the 'Edit' tab and select 'Link' or 'Bookmark' to create internal navigation points and headings.
- 3. Save and Upload: Save the updated PDF document and upload it to your SharePoint library for seamless user navigation.

Frequently Asked Questions
Why does the PDF open at the last viewed page instead of the linked page?
SharePoint and modern browsers like Microsoft Edge often cache the user's reading position to resume where they left off. This feature can override the URL page fragment. Users can bypass this by clearing their cache or opening the link in an Incognito/Private window.
Why does my SharePoint sharing link ignore the page parameter?
Standard SharePoint sharing links load the document inside a SharePoint web wrapper rather than the browser's native PDF viewer. The web wrapper does not process URL fragments like #page=5. You must use the direct file path ending in .pdf.
How do I bypass the 255-character limit for SharePoint links?
If your SharePoint URL with the appended page parameter exceeds 255 characters, it may fail in certain list columns or older browsers. You can bypass this by using a URL shortener, or by restructuring your SharePoint folders to use shorter names and moving the file closer to the root site directory.
Do URL parameters work with named destinations in PDFs?
Yes, if the PDF was saved with embedded named destinations, you can link directly to a heading by appending #nameddest=DestinationName to the direct PDF URL, provided the user's web browser supports this feature.




