Skip to the content
Files & folders

How do I show file extensions like .pdf or .docx at the end of file names?

You'll be able to: Reveal hidden file extensions to identify file types and stay safe

Risk
Be careful
Windows
Windows 11 · Windows 10

Filed under Files & folders

The steps

  1. 1

    Press WinE on your keyboard to open File Explorer. File Explorer opens, showing your recent files and drives.

    Why are extensions hidden by default?

    Windows hides them to keep file names clean and prevent accidental edits. However, turning them on helps you immediately spot dangerous files pretending to be documents (such as a virus named invoice.pdf.exe).

  2. 2
    Click View at the top toolbar, hover over Show at the bottom of the dropdown, and click File name extensions.A checkmark appears next to File name extensions.
    Windows 11 View menu pointing to Show, highlighting File name extensions.
  3. 3

    Look at the files in any folder on your computer. Every file now displays its exact format at the end (such as .pdf, .docx, .png, or .mp4).

  4. It looks different on my screen

    If you ever want to hide file extensions again, repeat the exact same steps to uncheck File name extensions.

Did this work?

Updated 2026-09-19اقرأ بالعربية