How to Create an INI File in Notepad

Notepad can create an INI file as plain text: choose Save As, change Save as type to All files, and end the filename with .ini. The common mistake is leaving the default TXT type selected, which can produce a file ending in .ini.txt.

Use the filename, folder, and settings the program expects. Getting the extension right creates the file, but the app still needs settings it understands.

Get the application's filename and settings first

Check the program's instructions: does it need a new settings file, or changes to an existing one? Some programs create their own file after their first launch, and some use a different format entirely.

Note the filename it requires and its expected folder. An INI file saved in Documents won't affect an application looking in its own data folder. Start from the maker's sample when one is available.

If a configuration file already exists, copy it to a safe folder before editing it. That lets you reverse an incorrect change without trying to remember the original values. Keep the backup separate from the working copy.

For a new file, open Start, search for Notepad, and launch it. Create a fresh tab in the Windows 11 version, or choose File > New in the older Windows 10 version. Keep unrelated notes out of this file.

Drawing of Notepad Save As showing the filename field and All files selection

Enter only the configuration the program understands

INI files often group settings under section names in square brackets, with each setting written as a name and a value. The app decides which section names and values it accepts, and whether punctuation matters.

For example, a sample could look like this:

[Display]
Theme=Dark

Those are example settings, not a command that switches Windows or every application to dark mode.

Replace them with the maker's supported configuration. Don't add quotation marks, extra headings, or explanations unless its format permits them.

Notepad saves the plain text these settings files need. A Word document renamed to .ini still contains Word formatting. Renaming leaves that formatting in place instead of producing plain-text settings.

I'd copy the smallest relevant sample from the program's own instructions and change one entry before checking its effect. If the app rejects the file, it's much easier to check a short entry than a long collection of changes.

When a sample has several sections, keep its headings and put each setting on its own line. A line that wraps on screen doesn't need an extra line break. A long folder path, for example, belongs together.

Save with the INI extension instead of TXT

Open File > Save As. The Ctrl + Shift + S shortcut opens Save As in both Windows versions. Choose a folder you can save files in, such as Documents.

  1. Enter the required name in File name, including the .ini extension.
  2. Change Save as type from Text documents (.txt) to All files (.*).
  3. Match Encoding to the application's instructions, when they specify one.
  4. Select Save.

For a practice file, settings.ini is a suitable example name. For a real application, keep its required name. Choosing All files keeps the extension you typed instead of adding .txt.

Encoding is the format used to store text. Older software can expect a particular format, so follow its manual or keep the original file's encoding rather than choosing one just because it seems newer.

If the destination is a protected program folder, prepare the file in Documents and then copy it to the required location, approving the administrator prompt when appropriate.

Don't change a folder's security permissions just to save one file.

When the editor can't open your file, handle the Notepad opening problem separately. That fault happens before the extension or configuration can be checked.

Use File Explorer to verify the extension

Find your saved file in File Explorer and make its extension visible. In Windows 11, choose View > Show > File name extensions. In Windows 10, open the View tab and select File name extensions.

The filename should end in .ini, with nothing after it. Microsoft's file extension instructions explain why the visible ending matters.

If the name reads settings.ini.txt, right-click it, choose Rename, and remove only the final .txt.

Confirm the extension-change warning when this is the plain-text configuration you just made. Keep the rest of the required name intact.

Changing the extension corrects this plain-text file's name. It doesn't check whether the settings are valid or repair a different kind of document. Open its Properties if you need another place to check the filename and type.

The icon can still resemble a text document, depending on the default application. Judge the complete filename rather than its picture. A valid INI file doesn't need a special icon or a downloaded file-conversion program.

Put the file where the application reads it

Close the application before replacing its configuration, unless its instructions describe live changes. Copy the finished file to the required folder and reopen the program. Check the particular setting you changed.

If the setting takes effect, the program has found and understood it. If nothing changes, compare the folder, complete filename, section heading, and setting name with the instructions before adding more entries.

Some applications rewrite configuration when they close. If your change disappears, check the maker's instructions for when the file should be edited. Repeatedly saving while the program is running can leave you comparing different copies.

A shortcut isn't another copy of the INI file. When moving the configuration, copy the actual file and check the destination. Use visible file extensions to distinguish the actual configuration from a similarly named copy.

If the app rejects your file, restore the backup. Ask its support team which filename, location, and encoding your installed version expects.

Include the exact error and the setting names, with private paths or credentials removed.

The Short Version

Enter the application's supported settings in Notepad, then use Save As with All files and a filename ending in .ini. Show file extensions to catch an accidental .ini.txt ending, then place the file in the folder the application expects.

Checked December 4, 2026.

If you have any business, I can build it online

Hi, I’m Hamza. I’ve been building websites and online shops for business owners since 2019, and I also built this site you’re reading.

Tell me what business you have or what you’re working on. I’ll look into how much it can grow online, and then we talk. You don’t have to buy anything or hire me first.

Chat with me on my site and I’ll show you proof of businesses I’ve helped and how they’ve grown.

Written by Isaac Smith

Isaac Smith is the founder and editor of PC Glance, a website that covers computers, laptops, and technology. He is a tech enthusiast and a computer geek who loves to share his insights and help his readers make smart choices when buying tech gadgets or laptops. He is always curious and updated about the latest tech trends.

More from Isaac Smith

Leave a Comment