When I try to save a file, the default extension is All types (*.*). It basically saves it without an extension, for example, just new 1 instead of new 1.txt.

“Default language” option in Settings → Preferences → New Document is set to “Normal Text”.

I Googled and saw that you can change the default save extension in langs.xml.

I've opened it but as far as I've understood the .txt file extension is already set as a default extension:

<Language name="normal" ext="txt" />

What do I do to make the default extension .txt?


The “New document” settings menu:

The “New Document” settings menu

Trying to save the file and it wants to save to All types (*.*), not as Normal text:

“Save As” dialog

  • sad this is still broken 4 years later – dangel Dec 4 '19 at 1:40

I found an answer that fixed this for me (versions 7.3.2, 7.3.3. and 7.4.2)

Settings->Preferences->Default Directory->uncheck Use new style save dialog…

(Source) Posted by (Claudia Frank)


New style save dialog has to be set to disabled for file extension suffix to work.

  1. Menu » Settings » Preferences
  2. "Default Directory" tab
  3. Uncheck "Use new style save dialog (without file extension feature)"
  • 1
    Seems the default behavior has changed in a recent version. This gets it back to 'normal'. – Harry Robbins Apr 24 '19 at 0:05

How do I set the default save extension back to the .txt default?

  1. Menu → "Settings" → "Preferences", or Alt+T then Enter

  2. Select "New Document" tab

  3. Set "Default Language" to Normal Text

    enter image description here

  4. Click "Close"

  5. Menu → "File" → "New", or Ctrl+N

  6. Menu → File → "Save As", or Ctrl+Alt+S

    enter image description here

  7. Click "Save"

  8. The file (in the above example) will be saved with the name new 1.txt

    enter image description here

    enter image description here

  • Default language is already put to "Normal Text" – Larper Dec 27 '15 at 21:04
  • @Larper When you click Save it will save the file (in this case) as new 1.txt as per your request. Does this not meet your requirements? If not please edit your question and explain why this answer does not work for you. – DavidPostill Dec 27 '15 at 22:23
  • I edited the question. – Larper Dec 28 '15 at 9:31
  • @Larper Your question still does not make sense. I already told you the file gets saved as new 1.txt. You do not have to type .txt yourself. – DavidPostill Dec 28 '15 at 9:34
  • 1
    @user598527 I'm running 7.2.2 and have never had the problem (on Windows 7). I'm updating to 7.4 right now. – DavidPostill May 17 '17 at 20:03

Notepad 7.5.6 - mar 19 2018:

You have to choose between two Save File dialog bugs:

"Use new style dialog..." setting checked:
Default file extension is not used.

"Use new style dialog..." setting unchecked:
If you paste in the file name textbox a folder path without trailing "\", then click on Save button to set the folder path, Notepad considers the path last folder is a file name (and asks you to confirm for file replacement).


Reinstalling Notepad++ fixed the issue.


A fix that worked for windows 10: File explorer -> View -> checking the "File name extensions" fixed the issue for me.

Now when i use ctrl+alt+s, it automatically uses the file extension of the file i'm saving the copy of.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.