To show file extensions on Windows 11, open File Explorer, and then click View > Show > File Name Extensions. Windows doesn't show file extensions by default, but you can change a single setting and make Windows always show you each file's full file extension.
Learn how to hide or show file extensions in Windows 11/10 File Explorer via Folder Options, Registry, Group Policy or CMD. It is better to set Windows to show them.