Fix PDF Preview in Windows 10 When a Filename Contains a Hashtag
Question details
The user needs File Explorer to preview PDFs whose filenames contain a hashtag.

- Product
- Windows 10 File Explorer and the PDF preview handler
- Device & OS
- Windows 10
- Scenario
- Previewing a PDF such as PR#1234.pdf in the File Explorer preview pane.
- Observed behavior
- The PDF preview fails when the filename contains #, but works after the character is removed.
In File Explorer, select View > Preview pane and test another PDF to confirm that previews are enabled. Check whether the affected PDF opens normally in your PDF reader.
Remove the Hashtag From the PDF Filename
Use this workaround when the preview works after the # character is removed.
Open File Explorer and navigate to the folder containing the affected PDF.
Right-click the PDF, select Rename, and remove or replace #. For example, change PR#1234.pdf to PR-1234.pdf without changing the .pdf extension.
Select the renamed file and check the File Explorer preview pane. If it is hidden, select View > Preview pane.

Update Windows and the PDF Preview Software
Try this if you need to keep the hashtag in filenames or previews fail for other PDFs as well.
Open the PDF Directly in WPS Office
If File Explorer cannot preview the filename, try opening the PDF directly in WPS Office to read it. This is an alternative to the preview pane, not a fix for its preview handler.
- 1. Install WPS Office: Download and install WPS Office, then launch it.
- 2. Choose the PDF: In WPS Office, select Open and browse to the folder containing the PDF.
- 3. Read the file: Select the PDF and click Open to read it in WPS Office. If it does not open, try removing # from the filename and opening it again.

Frequently Asked Questions
Why does a PDF with # in its filename fail to preview?
The PDF preview handler may interpret # differently when processing the file path. If the same file previews after renaming, the filename is a likely trigger.
How do I turn on the preview pane in Windows 10?
Open File Explorer and select View > Preview pane. Then select a PDF to check whether its preview appears.
Will changing my default PDF app always fix the preview?
No. You can check the .pdf assignment under Settings > Apps > Default apps > Choose default apps by file type, but the preview handler may be separate and may still have the same issue.
Can I keep the hashtag and still read the PDF?
Try opening the file directly in your PDF reader instead of using the File Explorer preview pane. If it opens, you can read it without changing the filename.




