Share via

2 files with the same name but different format

Charlie Martharper 425 Reputation points
2026-03-25T14:03:21.0166667+00:00

Hi!

I have one file that have to be uploaded as word and PDF. How should I do that? Because I guess if I upload files with the same name it appears (1), right?

The will work on the word and then should upload the PDF again with the new version of the word, am I right?

Microsoft 365 and Office | SharePoint Server | Development
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Gabriel-N 15,130 Reputation points Microsoft External Staff Moderator
    2026-03-25T14:38:54.5266667+00:00

    Hello Charlie Martharper,

    If the files have the same name but different formats (for example, Report.docx and Report.pdf), they can coexist without any issue. SharePoint, OneDrive, and similar storage services treat them as two separate files, so no (1) is added in this case. The (1) only appears when you upload a file with the same name and the same extension as an existing one.

    A very common and recommended approach is exactly what you described: you continue working on the Word file (Report.docx), and whenever there’s a new version, you export or save it as a PDF and upload the PDF again, replacing the old one. This way, the Word file remains editable, and the PDF always reflects the latest approved or shared version.

    If versioning is enabled in the library, overwriting the PDF will also keep the version history, so you won’t lose previous PDF versions.

    Additionally, you may want to try uploading both files on your side to see if you encounter any unexpected behavior. If anything looks off, feel free to let me know and I’ll be happy to support you further. For example, please see below image

    User's image

    In short, using the same name with different formats is perfectly fine, there’s no (1) issue, and yes, update the Word file first, then re‑upload or replace the PDF when needed.

    I hope this information is helpful. If you have any other questions or are unsure about anything, please don’t hesitate to ask.


    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.