An .ini file is used in a notepad to store & manage program settings in plain text so that they can be easily read & understood. It keeps settings organized so users can easily open and edit them.
How to Create .INI Files in Notepad: The Easiest Guide Ever
Many Windows programs use .ini files to store user settings, preferences, and program options.
What is an .ini file?
An .INI file (short for Initialization file) is a text file used to store & manage a program in a way that is easy to read and understand.
You’ll can see them with names like:
config.ini
settings.ini
Appname.ini
Why Create .INI Files?
People create .INI files for many reasons:
Change software settings
Set game settings
Save login info or file paths
Make app settings
Make small tools or scripts
Fix program problems by changing settings
What Tools Do You Need To Create an .ini File?
Notepad ( that will come installed already in all Windows versions)
A pc or a laptop
A fundamental typing skill
That's all; no coding knowledge is required.
Step-by-Step: Create an .INI File in Notepad
Follow these 8 easy steps to create an .INI File in Notepad :
Step 1: Open Notepad
Open notepad
For this, you can simply Press window key + S
The search option will open & type Notepad
Step 2: Write Simple .INI Content
Write the .INI content inside Notepad like :
[General]
username=John
theme=dark
language=English
[Display]
width=1920
height=1080
fullscreen=true
[Audio]
volume=80
mute=false
Step 3: Click on File
Once the .INI content is written
Click on the top left corner & click on the Save As option
Step 4: Choose Save Location
You can choose any location to save .INI content, e.g., desktop, gallery, download, etc.
Once select the located file, just click on the save option. The INI file will be saved there, but before saving, change the file name & path.
Step 5: Change File Name
This is one of the most crucial steps & developers usually make mistakes here :
Once they select the file where the .INI content is kept
You have to save the name as .” INI “ extension, like cong.INI
Step 6: Change Save Type
In the file name type, you can find two options :
All Files (.)
Text Documents (*.txt)
You have to choose all files & click the save option.
Step 7: Save the File
Now, click the save option
Your INI file has been created successfully
Step 8: Check Your File
To check you file is successfully created, or not, do these steps :
Go to the location where you have saved the .ini file
You will see a saved file name like cong. INI.
If you see a different file name is saved in a different extension other than .ini, then the file was saved incorrectly.
Make sure the file saved ends as .ini; it will not work as a configuration file.
Tips for Working with .INI Files
Use a simple name for files, don't add special characters that are difficult to remember
Save the file in UTF-8
Check your file again after the changes
Add notes using if needed
Common Problems and Solutions
Problem: save file .txt or html instead of .ini
Solution: Always save the file with the .ini extension
Problem: The program doesn’t read the file
Solution: Check the spelling mistake & also make sure there is no use of extra space.
Problem: Special characters are not showing correctly.
Solution: Save the file as UTF-8 encoding. Always try to add simple English letters & avoid using special characters.
Can We Create a .ini File Using Online Notepad?
No, you can not directly create an .ini file using free online notepad tools. For this, you have to use the Notepad Desktop app only.
Conclusion
Creating a .ini file is very simple in Notepad. Once you have mastered the simple format and the correct way to save them, you’ll be able to configure almost any program that supports .INI files.