.RES

RES File

Windows Compiled Resource File
Ask a question
QUICK ANSWER

A .RES file is a Windows compiled resource file - the binary output of the Resource Compiler (rc.exe) that bundles an app's icons, cursors, dialogs, menus, strings and version info. Developers open it with Resource Hacker (free) or Visual Studio. If you did not write the program it came from, you likely do not need to open it at all.

Developer: Microsoft (Windows Resource Compiler) Category: Developer Files MIME: application/octet-stream
OPENS ON Windows
Related: .DO · .MD · .HEX · .XSD

On this page

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

The .res file extension is used by the Windows compiled resource file format, produced during the Win32 program build process by the Resource Compiler (rc.exe). .res files store binary resources used by a given program, including cursors, fonts, bitmap images, icons, sounds, dialog definitions, string tables, menus, and version information.

A .rc source script is the human-readable input; compiling it with rc.exe yields a .res binary bundle, which the linker (link.exe) then merges into a finished .exe executable or .dll library.

A Win32 .res file, in contrast to older Win16 files, supports Unicode - resource type and name identifiers can be encoded as Unicode strings. The binary format begins with a mandatory null (empty) resource entry occupying 32 bytes at offset 0, which acts as the practical file signature and did not exist in the 16-bit variant.

Common resource types embedded in a .res file include:

  • RT_ICON / RT_CURSOR - application icons and mouse cursors
  • RT_BITMAP - embedded BMP images
  • RT_DIALOG, RT_MENU, RT_STRING - UI definitions and string tables
  • RT_VERSION - file version metadata displayed in Windows Explorer properties
  • RT_MANIFEST - side-by-side assembly manifest for UAC and visual style settings

Each resource entry carries a language identifier (LANGID), enabling the same .res file to hold localized variants of strings and dialogs for multiple locales.

Security & safety

RISK: LOW

A compiled .res is passive binary data (icons, dialogs, strings); it is not executable on its own, so opening one in a resource editor is safe. The real-world caution is about the .res extension being reused: a file named .res might instead be a game/app asset archive or a simulation results file. Also, "resource editing" tools are sometimes used to tamper with or crack existing programs - editing resources inside someone else's signed .exe/.dll breaks its digital signature and may violate its license.

Format details

in a nutshell
FULL NAMEWindows Compiled Resource File
DEVELOPERMicrosoft (Windows Resource Compiler)since 1980s-1990s (Windows SDK / Resource Compiler)
MIME TYPEapplication/octet-stream
TYPECompiled binary resource bundle (output of rc.exe, linked into EXE/DLL)
This extension is also used by…
  • Embarcadero/Borland Delphi & C++Builder .res - Delphi/C++Builder projects include a compiled .res (icons, version info) linked into the binary - same Windows resource format.
  • Generic 'resources' data file (games/apps) - Some games and applications name a packed asset/data archive '.res'; it is app-specific, not the Windows resource format.
  • ANSYS / engineering results file - Some simulation tools (e.g. ANSYS) write analysis results to a .res file, unrelated to Windows resources.
MAGIC BYTES · FILE SIGNATURE
OFFSET
000102030405060708090a0b0c0d0e0f
HEX
0000000020000000FFFF0000FFFF0000
ASCII
···· ···········
A 32-bit Windows .res begins with a null resource entry: data size 0x00000000 and header size 0x00000020, followed by 0xFFFF 0x0000 0xFFFF 0x0000 type/name markers. This null first entry is the practical signature. (16-bit .res had no such header.)

Programs that open RES files

Windows4 apps
Microsoft Visual Studio Freemium Add/open the .res (or its .rc) in a C++ project; the built-in resource editor edits icons, dialogs, strings. rc.exe compiles .rc to .res automatically.
ResEdit Free Open/create .res files and edit dialogs, menus, icons. Free standalone resource editor (older, but works).
Resource Hacker Free Open the .res (or an .exe/.dll) to view, modify, add or delete resources like icons, dialogs and strings. The go-to free editor.
Embarcadero Delphi / C++Builder Paid Open the project; the IDE manages the project .res (app icon, version info). RAD Studio bundles a resource compiler.

Technical details

deep spec
Format typeCompiled binary resource bundle; an intermediate build artifact, not a standalone executable
Produced by`rc.exe` (Windows Resource Compiler), included in the Windows SDK and Visual Studio build tools
Consumed by`link.exe` linker, which embeds the resource data into the final `.exe` or `.dll` at link time
File structureSequence of variable-length resource entries; each entry has a fixed-layout header (data size, header size, type, name, data version, memory flags, language ID, version, characteristics) followed by raw resource data
File signature32-byte null resource entry at offset 0: data size `0x00000000`, header size `0x00000020`, type/name markers `0xFFFF 0x0000 0xFFFF 0x0000`
Byte orderLittle-endian; all multi-byte integers stored in Intel (LE) byte order
AlignmentEach resource entry's data is padded to a DWORD (4-byte) boundary within the file
Unicode supportResource type and name identifiers are Unicode-capable; ordinal IDs use a `0xFFFF` prefix word, string IDs are inline UTF-16LE null-terminated
Language ID (LANGID)Each resource entry stores a Windows LANGID, allowing multiple localized variants of the same resource type/name within one file
Win32 vs Win1632-bit `.res` is binary-incompatible with 16-bit Win16 `.res`; Win16 lacked the null-header sentinel and used a different record layout without Unicode support
Supported resource types`RT_ICON`, `RT_CURSOR`, `RT_BITMAP`, `RT_DIALOG`, `RT_MENU`, `RT_STRING`, `RT_ACCELERATOR`, `RT_VERSION`, `RT_MANIFEST`, `RT_FONT`, plus user-defined custom type IDs
Memory flagsEach entry carries legacy memory flags (MOVEABLE, PURE, PRELOAD, DISCARDABLE) inherited from Windows 3.x resource loading; preserved in the format for compatibility
Manifest resourceAn XML application manifest can be embedded as resource type `RT_MANIFEST` (type ID 24), used by Windows to apply UAC elevation settings and visual styles
MIME type`application/octet-stream` (no format-specific MIME type is registered for `.res`)
Source input formatCompiled from `.rc` text scripts that reference or embed `.ico`, `.cur`, `.bmp`, and other asset files via resource directives
Released1980s-1990s (Windows SDK / Resource Compiler)
Specificationlearn.microsoft.com

RES conversions

Community Q&A

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

Frequently asked questions

What is a .RES file?
A Windows compiled resource file - the binary output of the Resource Compiler (rc.exe) that bundles an app's icons, cursors, dialogs, menus, strings and version info. The linker embeds it into an .exe or .dll.
How do I open a RES file?
With a resource editor: Resource Hacker or ResEdit (free) on Windows, or inside Visual Studio / Embarcadero Delphi if you have the project. It's a developer file, so a normal user rarely needs to open one.
Is a RES file the same as a .RC file?
No. .rc is the human-readable resource script you edit; .res is the compiled binary that rc.exe produces from it. The linker uses the .res, not the .rc.
How do I edit an application's icon or strings?
Open the program's .exe/.dll (or its .res) in Resource Hacker, change the icon/string resource and save. Note this breaks any digital signature on a third-party program.
Can I convert a RES to EXE or DLL?
Not by 'conversion'. A .res is linked into an .exe or .dll at build time by the linker. There's no tool that turns a lone .res into a runnable program.
Is a RES file always a Windows resource file?
No - the extension is reused. Some games/apps name a packed asset archive '.res', and some engineering tools (e.g. ANSYS) write results to .res. Those are unrelated formats; check the source program.

References

1Microsoft Learn - Resource File Formats (.res binary layout)learn.microsoft.com
2Microsoft Learn - About Resource Files (rc.exe, .rc > .res)learn.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.NOMEDIAAndroid No-Media Marker File
7.RPMSGRestricted Permission Message
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