You can change a file’s “type” in Windows three ways: rename the extension in File Explorer, convert the file format with a compatible app or converter, or change the default app that opens it. If you do the wrong one, Windows may hide the real extension, corrupt the file’s use, or keep sending it to the wrong program. This guide gives the exact Windows 11 and Windows 10 paths for each case.

What you'll need

  • File Explorer open on Windows 11 or Windows 10
  • A file whose current extension you can see
  • The app that created the file, if you need a real format conversion
  • Access to Settings for default app changes
What you need first
A laptop screen shows File Explorer with a large folder icon overlay

Open File Explorer first, then turn on file name extensions before you rename anything. Microsoft says File Explorer helps you find, open, organize, and manage files and folders, and you can open it from the taskbar, Start menu, or Win+E in Windows 11. The same core tool exists in Windows 10 and Windows 11.

Turn on file name extensions

File extensions are the suffix after the dot, such as .jpg, .png, .txt, and .pdf. If Windows hides that suffix, you cannot safely tell whether you are editing the name or the type label. Microsoft recommends showing extensions so you can see the full file name.

  1. Open File Explorer.
  2. In Windows 11, choose View > Show > File name extensions. In Windows 10, open the View tab and check File name extensions. (Microsoft Support)
  3. Confirm the suffix appears at the end of the file name.

If you still do not see extensions, open Options and check where File Explorer opens: Home or This PC in Windows 11, or the older folder view in Windows 10. Quick access in Windows 11 shows Desktop, Documents, Downloads, Pictures, Music, and Videos by default.

What does changing file type mean?

What does changing file type mean?
A Windows File Explorer window shows a view options menu over folders

People use “change file type” to mean three different actions. You may want to rename the extension, convert the actual file format, or change the default app that opens the file. Those are separate actions, and only one of them changes the file’s contents.

Rename the extension

Renaming the suffix changes how Windows labels the file. Microsoft notes that the file’s contents stay the same; only the extension changes how Windows interprets it. That means .jpg changed to .png does not turn JPG image data into PNG image data.

Convert the file format

Conversion changes the file itself. Use Save As, Export, or an app-specific converter when you need a true format change, such as PDF to DOCX or PNG to JPG. The renamer.io guide separates conversion from renaming and recommends Save As or Export as the safe path.

Change the default app

This does not change the file at all. It tells Windows which program opens that extension by default. A .txt file can open in Notepad, WordPad, or another editor depending on the association you set.

How to change the extension

If you only need a new extension label, use File Explorer’s rename command after extensions are visible. In Windows 11, the compact context menu can hide Rename under Show more options for some files and older app integrations. Common context menu actions include Rename.

  1. Select the file in File Explorer.
  2. Press F2 or right-click and choose Rename. In Windows 11, open Show more options if Rename is not shown.
  3. Edit only the suffix after the dot, such as changing report.txt to report.md.
  4. Press Enter and confirm the warning prompt if Windows shows one.

Picture a file named receipt.pdf that actually contains a text export from a scanner app. Renaming it to receipt.txt may make it open in a text editor, but it does not repair image data or change the underlying format.

How do you change the app that opens a file?

Use this path when the file is fine but opens in the wrong program. The extension stays the same. Windows only changes the default association for that file type. This is the right fix for a .pdf that opens in a browser when you want it in a PDF reader.

Use Open

  1. Right-click the file.
  2. Choose Open with and then Choose another app.
  3. Select the program you want.
  4. Check Always use this app if you want that choice applied to the extension.

Change defaults in Settings

  1. Open Settings.
  2. Go to Apps > Default apps.
  3. Choose the app or set the default by extension, such as .jpg or .pdf.

Suppose a .png file keeps opening in Photos when you want an editor. Set the default for .png to the editor in Settings > Apps > Default apps, or use Open with > Choose another app and mark it as the default.

How to convert the file properly

Use conversion when the file must become a different format, not just a different label. A renamed extension can break the file because the contents still follow the original structure. Save As, Export, or a format-specific converter changes the file data to match the new format.

  1. Open the file in the app that supports the target format.
  2. Choose File > Save As or File > Export.
  3. Select the target format, such as .png, .jpg, .bmp, .gif, or .pdf where the app offers it.
  4. Save the new copy under a new name.

A common first-timer mistake is renaming invoice.jpg to invoice.pdf and expecting Windows to treat it like a document. That only changes the label. A real PDF must be exported or saved as PDF from a compatible app.

File type decision table

User goal Exact Windows action Risk level If this fails
Rename the extension only File Explorer > select file > F2 or right-click Rename > edit the suffix after the dot High. Contents do not change, so the file may stop opening correctly. Restore the original extension and use the right app for conversion instead.
Convert the file format Open the file in a compatible app > File > Save As or File > Export Low when the app supports the target format. Try a different app or a format-specific converter.
Change the default app Right-click file > Open with > Choose another app > Always use this app or Settings > Apps > Default apps Low. The file itself stays unchanged. Reset the association in Default apps and pick the right program again.

Common mistakes

Common mistakes
A file explorer window appears beside large tutorial text

Most problems come from mixing up the three actions. If extensions are hidden, Windows can make the wrong edit look harmless. If the file opens in the wrong app, the association is the issue, not the file contents. If a renamed file becomes unreadable, the extension and the contents no longer match.

  1. Extensions are hidden: turn on View > Show > File name extensions before you rename.
  2. Renaming breaks the file: restore the original extension and use Save As or Export instead.
  3. Wrong app still opens the file: use Open with > Choose another app or Settings > Apps > Default apps.
  4. Rename is missing in Windows 11: open Show more options in the compact context menu.
  5. Rename is blocked: close the file if it is open, then try F2 again.

If this still fails, try this next

  1. Check whether the file is in a protected folder or already open in another app.
  2. Use the classic context menu in Windows 11 with Show more options.
  3. Move the file to Documents or Desktop and try the rename again.
  4. If the file type still does not behave correctly, switch to a real conversion path instead of renaming.

Windows 11 and Windows 10 do not use identical menus. Windows 11 has a compact context menu and a separate Show more options entry, while Windows 10 keeps the older menu style. Microsoft also notes that Windows 10 support ended on October 14, 2025, so some users will still see older paths and behavior.

Keep reading

Frequently asked questions

How to change file type in File Explorer Windows 10

Turn on File name extensions in View, then select the file and press F2 or right-click Rename. Change only the suffix after the dot. If you need a real format change, open the file in a suitable app and use File > Save As or File > Export.

How to be able to change file type in File Explorer

Start by showing the extension in File Explorer. Use View > Show > File name extensions in Windows 11 or the View tab in Windows 10. Then use F2 or Rename. If Rename is missing in Windows 11, open Show more options.

Can't rename files in File Explorer?

First close the file if another app is using it. Then try F2 on the file itself, or right-click and choose Rename. In Windows 11, the command may sit under Show more options. If that still fails, check whether the folder is protected or read-only.

How do I show file extensions before changing a file type?

Open File Explorer and choose View > Show > File name extensions in Windows 11. In Windows 10, use the View tab and check File name extensions. Once the suffix is visible, you can see whether a file is .jpg, .png, .txt, or another type before editing it.

What is the difference between changing a file extension and converting a file?

Changing the extension edits the label after the dot, and the contents stay the same. Converting the file changes the actual data into a new format. Use Save As, Export, or a format-specific tool for conversion; use Rename only when you need a different extension label.

How do I change which app opens a file in Windows?

Right-click the file and choose Open with > Choose another app, then check Always use this app. You can also open Settings > Apps > Default apps and set the default by extension. That changes the app association, not the file itself.

Why does renaming a file extension sometimes break the file?

Because the extension only tells Windows how to interpret the file. Microsoft says the file contents do not change when you rename the extension. If you change .jpg to .pdf or .txt to .png, the contents still match the old format, so the file may not open correctly.