PDF Opening Issues

Fix PDF Preview in Windows 10 When a Filename Contains a Hashtag

Ayan MasoodAyan Masood Nov 19, 2026 868 views

Question details

The user needs File Explorer to preview PDFs whose filenames contain a hashtag.

Fix Windows 10 PDF Preview for Filenames Containing 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.
Before you start

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.

Solution 1Recommended

Remove the Hashtag From the PDF Filename

Use this workaround when the preview works after the # character is removed.

1
Find the PDF

Open File Explorer and navigate to the folder containing the affected PDF.

2
Rename the file

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.

3
Test the preview

Select the renamed file and check the File Explorer preview pane. If it is hidden, select View > Preview pane.

Remove the Hashtag From the PDF Filename
Renaming affects the file path: If another document or application links to the original filename, update that reference after renaming.
Open PDFs with WPS Office

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. 1. Install WPS Office: Download and install WPS Office, then launch it.
  2. 2. Choose the PDF: In WPS Office, select Open and browse to the folder containing the PDF.
  3. 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.
Open and read PDFs without relying on the File Explorer preview paneUse a familiar interface to work with documentsCompatible with Microsoft Office formats including DOCX, XLSX, and PPTX
microsoft office alternative - wps office

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.