.RESX

RESX File

.NET XML Resource File
Ask a question
QUICK ANSWER

A RESX file is an XML resource file used by .NET applications to store localized strings, images, and other data that the app loads at runtime. Open it in Visual Studio (Resources Designer) or any text/XML editor. It is a plain text file and safe to open.

Developer: Microsoft Category: Developer Files MIME: text/microsoft-resx
OPENS ON Windows macOS Linux
Related: .DO · .MD · .HEX · .XSD

On this page

19k+ extensions indexed
Last reviewed Jul 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 RESX file format?

A .resx file is a .NET XML Resource File - the standard format for storing localizable strings, images, icons, and binary data in Microsoft .NET projects. Visual Studio generates and manages .resx files automatically as the human-readable, source-control-friendly counterpart to the compiled binary .resources files embedded in assemblies.

The format is plain UTF-8 XML. Every file opens with a <root> element containing a <resheader> section that declares the schema version and serializer type, followed by <data> elements - each with a name attribute and a <value> child. String values appear as plain text; binary objects (icons, bitmaps, arbitrary blobs) are Base64-encoded within <value> with a mimetype attribute such as application/x-microsoft.net.object.binary.base64.

Two schema versions exist: ResX v1 (Visual Studio .NET 2002-2003, .NET 1.x) and ResX v2 (.NET 2.0+, 2005 onward), which remains current. The active version is declared inside <resheader name="version">.

At build time, ResGen.exe or MSBuild compiles .resx into a binary .resources file that is embedded in the output assembly. Localization relies on culture-specific satellite files - for example, Resources.fr.resx for French. For Windows Runtime (UWP) projects, .resx is superseded by .resw; for JavaScript localization, .resjson takes its place. However, .resx remains the active standard for .NET Framework, WinForms, and WPF projects through .NET 9 and beyond.

Security & safety

RISK: LOW

.resx files are plain XML and cannot execute on their own. The only indirect risk: embedded binary data (Base64) could theoretically carry a malicious payload that is activated after the assembly is built and run - but this requires the developer to intentionally embed and execute it. Opening a .resx in a text/XML editor is safe.

Format details

in a nutshell
FULL NAME.NET XML Resource Fileaka ResX file, XML resource template
DEVELOPERMicrosoftsince 2002 (.NET Framework 1.0 / Visual Studio .NET)
MIME TYPEtext/microsoft-resx
TYPEXML text file (.NET resource format)
This extension is also used by…
  • RESW (Windows Runtime resource file) - Structurally near-identical XML resource format used by UWP/WinRT apps; shares the same tag structure but uses a different schema root.

Programs that open RESX files

Windows4 apps
Microsoft Visual Studio Freemium Double-click the .resx file in Solution Explorer to open it in the graphical Resources Designer (table of Name/Value/Comment); or right-click → Open With → XML Editor for raw XML view.
Notepad Open-source Open as XML text with syntax highlighting (File → Open). Good for quick edits; no visual resource designer.
Visual Studio Code Free Open the .resx file to view/edit as XML; the ResXpress or Resx Editor extensions add a table UI for easier editing.
ResX Resource Manager Open-source Visual Studio extension and standalone app for managing all .resx files across a solution side-by-side - ideal for translators.
macOS1 app
Visual Studio Code Free Open the .resx file as XML; use the Resx Editor extension for a table view.
Linux2 apps
GNU Emacs Open-source Open and edit as XML with nxml-mode.
Visual Studio Code Free Open the .resx file as XML; use the Resx Editor extension for a table view.

Technical details

deep spec
EncodingUTF-8 XML text
Root element`<root>` containing `<resheader>` (schema metadata) and `<data>` (resource entry) children
String resource formatPlain text within `<value>` child of `<data name="key-name">`
Binary resource encodingBase64-encoded inside `<value>` with a `mimetype` attribute identifying the object type
Binary mimetype values`application/x-microsoft.net.object.binary.base64`, `application/x-microsoft.net.object.bytearray.base64`
Schema versionsResX v1 (.NET 1.x, 2002-2003) and ResX v2 (.NET 2.0+, 2005; current); version declared in `<resheader name="version">`
Build compilationResGen.exe or MSBuild compiles `.resx` → binary `.resources` file embedded in the output assembly
Localization naming patternCulture-specific satellite files named `Resources.{culture-code}.resx` (e.g. `Resources.fr.resx` for French)
Typical resource typesLocalized strings, bitmaps, icons, cursors, audio clips, arbitrary binary blobs
Typical file size1 KB - several MB (scales with number and size of embedded binary resources)
MIME typetext/microsoft-resx
Associated build toolsVisual Studio resource designer, MSBuild, ResGen.exe, `dotnet build`
Successor formats`.resw` for UWP/Windows Runtime (Windows 8+); `.resjson` for JavaScript-targeted localization; `.resx` remains standard for WinForms/WPF
Released2002 (.NET Framework 1.0 / Visual Studio .NET)
Latest versionResX schema 2.0 (introduced .NET Framework 2.0, 2005; still current)
Specificationlearn.microsoft.com

RESX conversions

Community Q&A

asked by users
Ask a quick question
Get help from people who work with RESX 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 RESX files.

Frequently asked questions

What is a .resx file?
A .resx file is an XML resource file for .NET applications. It stores named strings, images and other data (usually for localization) that Visual Studio compiles into the app's assembly at build time.
How do I open a .resx file?
In Visual Studio, double-click it in Solution Explorer - it opens in a table-based Resources Designer. For raw XML editing use VS Code, Notepad++, or any XML editor. For multi-file translation work, use ResX Resource Manager.
Can I edit a .resx file manually?
Yes - it's plain XML. Edit the <value> text inside <data> blocks in any text editor, then rebuild the project so MSBuild recompiles the changes into the assembly.
What is the difference between .resx and .resw?
.resw is the UWP/Windows Runtime version - structurally nearly identical XML, but used in WinRT projects instead of WinForms/WPF. .resx is for .NET Framework and .NET 5+ desktop projects.
How do I add a new language translation?
Copy Resources.resx to Resources.fr.resx (replace 'fr' with the target culture code), translate the <value> strings, and rebuild. .NET automatically loads the culture-matching file at runtime.
What does MSBuild do with .resx files?
MSBuild runs ResGen.exe to compile each .resx into a binary .resources stream, then embeds it into the assembly (DLL or EXE). The resulting resource is accessed via ResourceManager in code.

References

1Microsoft Learn - Resources in .resx file formatlearn.microsoft.com
2Microsoft Learn - Working with .resx files programmaticallylearn.microsoft.com

Keep exploring

across the database

Top extensions this week

1.AQQAQQ Instant Messenger File
2.MDMarkdown Document
3.CRDOWNLOADChrome Partial Download File
4.BINCD/DVD Disc Image (BIN/CUE)
5.PARTPartial Download File
6.RPMSGRestricted Permission Message
7.NOMEDIAAndroid No-Media Marker File
8.EXEWindows Executable (Portable Executable)
9.AVIFAV1 Image File Format (AVIF)
10.ICSiCalendar data file

Related extensions

.DOStata Do-File
.MDMarkdown Document
.HEXIntel HEX File
.XSDXML Schema Definition
.MAPSource Map (JavaScript / CSS)
.CONFIGConfiguration File

Free file tools

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

Open the toolbox

Browse file extensions A-Z