.INI file extension
To open .INI files on Windows, right-click the .ini file and choose Open with → Notepad (or another plain-text editor).
To open a .ini file, use a plain-text editor (for example Notepad on Windows, or a text editor on macOS/Linux). If you need to interpret or edit settings safely, treat it as text and follow the section/key structure used by the app that created it.
Last updated: June 12, 2026
Open on your device
Choose your operating system for a dedicated step-by-step opening guide.
How to open .INI files
Use these platform-specific instructions to open .INI files safely.
Windows
- Right-click the .ini file and choose Open with → Notepad (or another plain-text editor).
- If you need to change settings, edit only the values you understand and keep the same section and key=value structure, then save.
Mac
- Open the .ini file with a plain-text editor (for example, a code editor or a basic text editor configured for plain text).
- Edit carefully without changing the overall structure (sections in [brackets] and key=value lines), then save.
Linux
- Open the .ini file with a plain-text editor (for example, a GUI text editor or a terminal editor).
- Preserve the INI structure (sections and key=value pairs) and save the file as plain text.
iOS
- Open the .ini file in a text-editing app that supports plain text; if the app that uses the file is on a desktop, transfer the file and edit it there to avoid formatting changes.
Android
- Open the .ini file in a plain-text editor app; if the file controls a desktop application, edit it on the desktop to reduce the risk of changing line endings or encoding unexpectedly.
Security notes
- INI files are plain text, but they can change application behavior (for example, paths, plug-in settings, or feature flags). Only use INI files from sources you trust and review changes before applying them.
- Be cautious when editing system- or application-managed INI files: incorrect values can break app startup, alter network endpoints, or weaken security-related settings chosen by the application.
- If an INI file is used by scripts or tooling that automatically expands variables or file paths, a malicious configuration could redirect outputs, logs, or resource loading to unexpected locations.
If you did not expect this file
This extension is usually plain data, text, or structured content—not a program by itself. The practical risk is social engineering (a scam attachment or misleading filename). For trusted senders you rarely need heavy-handed antivirus wording; use these tools when you want an extra check on unexpected downloads.
Avast offers free and premium antivirus software that protects against viruses, malware, ransomware, and phishing. Scan files before opening them to ensure safety.
NortonNorton 360 delivers comprehensive antivirus protection, VPN, and identity theft monitoring. Scan files for threats before opening to keep your device secure.
We may earn a commission when you use affiliate links. This supports our free file extension guides.
Can't open this file?
These are the most common causes and fixes when .INI files fail to open.
Common reasons
- Double-clicking opens the wrong program (or nothing happens)
- Settings changes do not take effect
- The app reports an INI parse error or ignores parts of the file
- Non-ASCII characters display incorrectly
Fix steps
- Use “Open with” and choose a plain-text editor (Notepad on Windows or another text editor).
- If you want, set the text editor as the default app for .ini files so future opens go to the editor.
OS-specific troubleshooting
What is a .INI file?
INI is a simple text-based configuration format typically organized into named sections in square brackets (for example, [Section]) containing key=value entries. It is widely associated with Windows “initialization files”, and is also commonly parsed as “INI-style” configuration by libraries such as Python’s configparser. The exact keys and meanings are defined by the application using the file, not by the INI format itself.
Background
INI files are commonly used to store application settings in a human-readable way. A typical file contains sections (like [General]) and settings expressed as key/value pairs; many tools and scripts can read and write them because they are simple plain text.
On Windows, INI files are historically tied to “initialization files” and are directly supported by Windows API functions that read values from them (for example, GetPrivateProfileString). In modern software, they are still frequently used for lightweight configuration where a full database or more complex structured format is unnecessary.
Outside of Windows, INI-style configuration is still common, especially for cross-platform applications and developer tooling. Python’s configparser documentation describes an INI-like syntax (sections and name/value pairs) and is widely used in scripts and applications that prefer readable configuration files.
Common MIME types: text/plain
Further reading
Authoritative resources for more details on the .INI format.
Common .INI issues
Double-clicking opens the wrong program (or nothing happens)
.ini files are plain text and may be associated with an unexpected app on your system, or the system may not have a preferred association for them.
- Use “Open with” and choose a plain-text editor (Notepad on Windows or another text editor).
- If you want, set the text editor as the default app for .ini files so future opens go to the editor.
Settings changes do not take effect
Many applications read the INI file only at startup, or they may use a different configuration location than the file you edited.
- Close and restart the application after saving changes.
- Confirm you edited the correct INI file used by the application (some apps keep multiple copies or use per-user vs per-system locations).
The app reports an INI parse error or ignores parts of the file
INI parsers typically expect sections like [name] and key=value pairs; missing brackets, duplicated keys, or unexpected characters can cause a parser to ignore settings or fail.
- Check that section headers are in square brackets (for example, [General]) and settings use key=value on one line.
- Undo recent edits and re-apply changes gradually to find the problematic line; keep a backup copy of the original file.
Non-ASCII characters display incorrectly
INI files are plain text, but the encoding used can vary by application; some programs expect a specific encoding and may misread characters if it differs.
- Re-save the file as plain text with the encoding expected by the application (if documented by that app).
- Avoid introducing special characters unless you know the target software supports them.
FAQ
Is an .ini file just a text file?
Yes—INI files are plain text. They typically use section headers in square brackets and key=value pairs, but the specific keys are defined by the application that uses the file.
What does an INI file look like?
Commonly it contains sections like [SectionName] followed by lines such as key=value. Many tools (including Python’s configparser) treat this as the standard INI-style layout.
Why are INI files associated with Windows?
Windows historically used “initialization files” and provides API functions for reading values from them (for example, GetPrivateProfileString), which is why .ini is strongly associated with Windows configuration.
Is there an official MIME type for .ini files?
A dedicated IANA-registered MIME type for “INI files” is not established in the provided sources. In practice, INI files are usually treated as plain text (often served as text/plain when no specific type is registered).
Similar file extensions
Compare related formats in the same category to find the right tool faster.