.NLS

NLS File

Windows National Language Support File
Ask a question
QUICK ANSWER

An NLS file is a Windows system file that stores locale data, character encoding tables, or sort rules - the data Windows uses to display different languages correctly. You do not need to open one; Windows loads NLS files automatically. If Windows reports a missing or corrupt NLS file, run sfc /scannow from an elevated Command Prompt to restore it.

Developer: Microsoft Corporation Category: System Files MIME: application/octet-stream
OPENS ON Windows
Related: .NOMEDIA · .DLL · .TMP · .LNK

On this page

19k+ extensions indexed
Last reviewed Sep 8, 2026

Not sure what your file is?

Drop any file into our identifier - we read just the first bytes to name the format.

Identify a file

What is the NLS file format?

An .nls file is a binary system file used by the Windows NLS (National Language Support) subsystem to store locale data, code-page translation tables, Unicode mapping tables, and sort key data. Microsoft introduced the format with Windows NT 3.1 in 1993.

.nls files reside in %SystemRoot%\System32\ and the %SystemRoot%\System32\NLS\ subdirectory. Common examples include c_1252.nls (Windows-1252 Latin-1 code page), l_intl.nls (locale metadata), and sortdefault.nls (Unicode sort key data). Each file has a binary header that declares section counts and absolute offsets into the data, followed by the actual translation or sorting tables.

The files are loaded directly by the Windows kernel and C runtime libraries during boot and process initialization; end users never need to open or modify them. Renaming or deleting an .nls file causes system instability or startup failure. Windows File Protection (WFP) and its successor Windows Resource Protection (WRP) guard against accidental removal.

The format has no published specification. On Windows 10 and later, some globalization functions have migrated to the ICU (International Components for Unicode) library, but .nls files remain present and in active use across all supported Windows versions.

Security & safety

RISK: LOW

Legitimate NLS files in %SystemRoot%\System32\ are read-only system files protected by Windows Resource Protection. They pose no inherent risk. However, malware occasionally disguises itself as an NLS file or drops fake NLS files in other locations - if an NLS file appears outside System32 or triggers an AV alert, investigate with Windows Defender or run 'sfc /scannow' to restore legitimate files.

Format details

in a nutshell
FULL NAMEWindows National Language Support Fileaka NLS file, code page translation table
DEVELOPERMicrosoft Corporationsince Early 1990s (Windows NT 3.1, 1993)
CATEGORYSystem Files
MIME TYPEapplication/octet-stream
TYPEBinary system file - stores locale data, code-page translation tables, and sorting/formatting rules for Windows NLS subsystem
This extension is also used by…
  • Navision/Microsoft Dynamics NAV language file - Microsoft Navision ERP used .nls for UI string localization - a completely different text-based format from the Windows system NLS files.
  • Various game localization files - Some games (e.g. Quake engine derivatives) used .nls for string tables; proprietary and unrelated to Windows NLS.

Programs that open NLS files

Windows2 apps
Microsoft Windows (built-in - automatic) Built-in NLS files are loaded automatically by Windows; no user action required. Do not open, rename, or delete.
Hex editor (for advanced inspection only) Free Use HxD or similar hex editor to inspect the binary structure. No end-user reason to do this.

Technical details

deep spec
File encodingBinary - proprietary Microsoft NLS format
Byte orderLittle-endian
Content typesCode-page translation tables, locale metadata, Unicode sort keys, calendar data, Unicode mapping tables
Header structureDeclares section counts and absolute file offsets into the data sections
Typical file size8 KB - 256 KB (code page files typically 64-128 KB)
Storage location`%SystemRoot%\System32\` and `%SystemRoot%\System32\NLS\`
PlatformWindows only (all versions since NT 3.1, 1993)
Integrity protectionWindows File Protection (WFP) / Windows Resource Protection (WRP) prevents deletion or replacement
Loading mechanismLoaded by the Windows kernel and C runtime libraries at boot and process initialization
Example files`c_1252.nls` (Windows-1252), `l_intl.nls` (locale data), `sortdefault.nls` (sort keys)
Format specificationProprietary and unpublished; internal structure varies by NLS file subtype
User modificationNot intended for modification; editing or deleting causes system instability or startup failure
ReleasedEarly 1990s (Windows NT 3.1, 1993)
Latest versionContinuously updated with each Windows release; no independent version numbering
Specificationlearn.microsoft.com

NLS conversions

Not possible

Community Q&A

asked by users
Ask a quick question
Get help from people who work with NLS files. Be specific - include your system and software version.
No account needed · answers usually within a day

No questions yet - be the first to ask about NLS files.

Frequently asked questions

What is an NLS file and do I need it?
It's a Windows system file containing locale data or character encoding tables. Windows needs it to display different languages correctly. You do not need to open it; never delete NLS files from System32.
How do I fix a missing or corrupt NLS file error?
Run 'sfc /scannow' from an elevated Command Prompt. System File Checker will find and restore corrupt or missing Windows system files, including NLS files. For severe cases, use DISM or a Windows repair install.
Is it safe to delete an NLS file?
No. Deleting NLS files can break character encoding, locale formatting, and in severe cases cause boot failure. Windows Resource Protection normally prevents deletion.
Why did my antivirus flag an NLS file?
False positives on system files are possible. Run 'sfc /scannow' and check that the file is in %SystemRoot%\System32\. An NLS file found elsewhere (e.g. AppData, Downloads) is suspicious and should be scanned.
Can I open an NLS file in a text editor?
The file is binary, so a text editor will show garbage. You can open it in a hex editor for raw inspection. There is no practical reason for normal users to open NLS files.

References

1Microsoft Docs - National Language Support (NLS)learn.microsoft.com
2Microsoft Docs - Code Page Identifierslearn.microsoft.com

Keep exploring

across the database

Top extensions this week

1.AQQAQQ Instant Messenger File
2.BINCD/DVD Disc Image (BIN/CUE)
3.MDMarkdown Document
4.RPMSGRestricted Permission Message
5.PARTPartial Download File
6.CRDOWNLOADChrome Partial Download File
7.NOMEDIAAndroid No-Media Marker File
8.PRO6XProPresenter 6 Bundle File
9.PRDXSoftMaker Presentations Document
10.SWFSmall Web Format (Shockwave Flash)

Related extensions

.NOMEDIAAndroid No-Media Marker File
.DLLDynamic Link Library
.TMPTemporary File
.LNKWindows Shell Link (Shortcut)
.PKGmacOS Installer Package
.ETLEvent Trace Log

Free file tools

An in-browser file identifier and image converter - everything runs on your device.

Open the toolbox

Browse file extensions A-Z