How to See Who Viewed Files on a SharePoint Site
Question details
Administrators and users need to track which specific users have viewed documents or pages on a SharePoint site, and require automated reports or view counts for auditing and compliance.

- Product
- SharePoint
- Device & OS
- not provided
- Scenario
- Monitoring document access, auditing user activity, and exporting viewer logs for security compliance on a SharePoint site.
- Observed behavior
- Users require a built-in method to identify file viewers, a way to display aggregated view counts securely without exposing guest names, and a method to extract usage data.
Ensure you have Site Owner or SharePoint Administrator privileges, as modifying site features and adjusting sharing policies require elevated administrative access.
Enable the SharePoint Viewers Feature
Activate the built-in site feature to allow users to see the specific names of people who have recently viewed documents on the site.
By default, SharePoint tracks file usage, but it does not display viewer names to users. Activating the SharePoint Viewers feature adds a file hover card that populates this information.
Navigate to your SharePoint site homepage, click the gear icon in the top right corner, and select 'Site information' followed by 'View all site settings'.
Under the 'Site Actions' category, click on the 'Manage site features' link.
Scroll down the list until you find 'SharePoint Viewers'. Click the 'Activate' button next to it.
Return to your document library and hover your cursor over any file. A summary card will appear displaying the names of users who have recently viewed the document.

Display View Counts Without Revealing Names
Modify the global SharePoint Admin Center policies to show only aggregated view counts, protecting user and guest privacy.
Use Microsoft Purview for Exportable Audit Reports
Utilize the Microsoft Purview compliance portal to generate comprehensive, automated, and exportable logs of who accessed files on your SharePoint site.
Efficiently Analyze Your SharePoint Audit Logs with WPS Office
While SharePoint handles your cloud data auditing, you need a reliable tool to analyze the exported CSV logs. WPS Office is a lightweight, free alternative to Microsoft Office that lets you effortlessly open, filter, and analyze large audit data files.
- 1. Download and Install: Download WPS Office for free from the official website and install it on your computer.
- 2. Open the Exported Audit Log: Launch WPS Spreadsheet and open the CSV file you exported from the Microsoft Purview audit log.
- 3. Analyze the Data: Use built-in data filtering, pivot tables, and formatting tools in WPS Spreadsheet to easily track who viewed your SharePoint files.

Frequently Asked Questions
Can I export the SharePoint Viewers list directly from the document library?
No, the SharePoint Viewers hover card does not feature a direct export button. To obtain an exportable list of viewers, administrators must use the Microsoft Purview Audit log search to generate a downloadable CSV file.
Why aren't viewer names showing up even after enabling the SharePoint Viewers feature?
If the site feature is enabled but names still aren't visible, your organization's global SharePoint Administrator has likely disabled the 'display names' setting in the SharePoint Admin Center sharing policies for privacy reasons.
Does SharePoint track external guest users when they view files?
Yes, if external guest users are authenticated (logged in), their names will be recorded and may appear in the viewer list. If exposing guest identities is a security concern, administrators should configure policies to display only view counts.




