Fix PDF Extension Changing to Numbers When Saving with a Date
Question details
The user wants to save a PDF file using a filename that contains a period (such as a date), but the software mistakenly treats the number after the period as the file extension instead of retaining the .pdf format.

- Product
- PDF Editor / Adobe Acrobat
- Device & OS
- Windows / macOS
- Scenario
- Saving a PDF document using a custom filename that includes a period or a date format (e.g., report.19).
- Observed behavior
- The operating system drops the .pdf extension and creates a file with a numerical extension (such as .19) based on the text following the period, causing the file to become unrecognized.
Make sure your operating system is configured to display known file extensions, as Windows and macOS often hide them by default. This will help you easily verify whether the file is being saved as a standard .pdf or an incorrect format.
Manually Append the .pdf Extension When Saving
Explicitly typing the .pdf extension at the end of your filename forces the operating system to recognize the correct file type, overriding any confusion caused by periods.
Operating systems typically use the last period in a filename to determine the file type. When you include a period in the middle of your filename, such as a date, the software assumes the subsequent numbers are the file extension.
Click on 'File' in the top menu bar of your PDF application and select 'Save As'.
In the 'File name' box, type your desired document name including the date or periods (for example, type 'report.19').
Immediately type '.pdf' at the very end of your filename so the entire entry reads exactly as 'report.19.pdf'.
Confirm that the 'Save as type' dropdown menu is set to 'Adobe PDF File (*.pdf)' or 'PDF Document', then click the 'Save' button.

Use Alternative Characters for Dates
Avoid using periods in your document names by substituting them with hyphens or underscores to completely eliminate extension conflicts.
Save and Manage PDFs Effortlessly with WPS Office
WPS Office provides a highly capable, built-in PDF editor that handles file naming elegantly. Its intelligent save dialog avoids the common pitfalls of filename extensions changing, ensuring your documents remain perfectly formatted even when using periods and dates in the name.
- 1. Open the PDF document: Launch WPS Office and open your target PDF file directly within the application.
- 2. Access the save options: Click the 'Menu' button situated in the top-left corner and select 'Save As' from the dropdown list.
- 3. Enter your desired filename: Type your custom filename, including dates or periods, and choose your preferred destination folder on your computer.
- 4. Confirm and save: Ensure the 'File Type' is set to 'PDF Format (*.pdf)' and click 'Save'. WPS Office will securely save your file without misinterpreting the period.

Frequently Asked Questions
Why does adding a period in a filename change the file extension?
Operating systems rely on the period character to identify the boundary between a file's name and its format extension. When you add a period for a date (like .19), the system mistakenly assumes the numbers following the period represent the file's extension, effectively replacing the original .pdf extension.
How do I show hidden file extensions on Windows to help prevent this?
Open File Explorer, click the 'View' tab at the top of the window, and check the box labeled 'File name extensions'. This allows you to clearly see the full extension (like .pdf or .19) at the end of every file, making it easier to spot and correct saving errors.
Can I fix a PDF file that has already been saved with a .19 extension?
Yes. Locate the affected file in your computer's folders, right-click it, and select 'Rename'. Add '.pdf' to the end of the filename (or replace '.19' entirely with '.pdf'). Press Enter and confirm any warning prompts; the file will revert to a standard PDF document.




