File Extension File Extension Guide

What is a RES File?

A complete guide to the RES file, the compiled binary resource file the Resource Compiler builds from an .rc script on the way to a finished Windows program.

🧱 Compiled Resources 🔧 Build Artifact 📦 Binary File 🖼️ Holds Icons
.RES

Compiled Resource File

Type:Resource file
Developer:Microsoft
Built by:rc.exe
Binary:Yes

📖 What is a RES File?

A RES file is a compiled Windows resource file. It is the binary bundle of an application's icons, cursors, bitmaps, dialogs and text, built from a script and waiting to be joined to a program.

Windows software keeps its non code parts, the picture on the taskbar, the layout of a dialog, the words in a menu, in resources. Before those resources reach a program they pass through a compiler, and the .res is what that compiler produces.

So a .res is a middle step. It is more finished than the script it came from and less finished than the program it is headed for. What follows is what it carries, where it fits and how to read the icons out of one.

⚡ Quick Facts

Full NameCompiled Windows Resource File
Extension.res
DeveloperMicrosoft
CategoryResource file, build artifact
FormatBinary
Built byThe Resource Compiler, rc.exe
Compiled fromAn .rc resource script
HoldsIcons, cursors, bitmaps, dialogs, strings
Related FormatsRC, ICO, EXE, DLL

📦 What a RES File Holds

A .res gathers every resource an application declared, each one tagged with a type and an ID so the program can call it up later. The usual contents:

🖼️ Icons and cursors
The program's icon and any pointers, stored as the same icon and cursor data you would find in a standalone file.
🎨 Bitmaps
Toolbar images, logos and other pictures the interface draws.
🗂️ Dialogs and menus
The layout of windows and the wording of menus, described so Windows can build them.
🔤 Strings and version
Text the program shows and the version stamp you see in a file's properties.

For someone after the artwork, the icons and bitmaps are the interesting part. They sit in the .res exactly as compiled, ready to read.

🔧 Where a RES File Comes From

A .res never appears on its own. It is one stop on a short assembly line that turns a developer's script into a finished program:

.rc script
Text that names the resources
rc.exe
The Resource Compiler
.res file
Compiled resources, binary
linker
Folds it into the program
.exe or .dll
Finished, icons inside

The Resource Compiler takes the script and every file it names, an .ico here, a bitmap there, and packs them into the single .res. The linker then merges that .res into the .exe or .dll, which is how a program ends up carrying its own icon.

💡 Why you see one: A .res is a build leftover. It turns up in a project's output folder next to the compiled program, since it is produced fresh every time the software is built.

🔬 Inside a RES File

Open a .res in a hex viewer and you see a run of resource entries laid end to end. Each one follows the same shape:

1

A Header per Entry

Every resource starts with a header giving its type, such as icon or bitmap, its ID and its size, so a reader knows what comes next.

2

The Resource Data

Straight after the header sits the resource itself, the icon image or the dialog layout, in the same binary form it will have inside the program.

3

One After Another

Entries repeat until the file ends, which is why a .res is really a plain list of resources rather than a structured container.

🖼️ The icons are ready to read: Because each icon sits in the .res as finished ICO data, a tool that knows the format can lift it out without any conversion.

⚖️ RES vs RC

These two are the before and after of the same job. If you have both in a folder, this is the split, and the RC file guide covers the script side in full:

FeatureRCRES
What it isA resource scriptCompiled resources
FormatPlain textBinary
Holds the artNo, it names the filesYes, the art is inside
Edited byA person, in a text editorA build tool
ComesFirst, as the sourceAfter, from the compiler
✅ Good to know: An .rc script only points at an icon by file name. The .res is the first point in the chain where the icon is actually held inside, which is why the .res is the one you open to read it.

⚖️ RES vs the Final EXE

A .res and a finished program hold the same resources, so it helps to know which you are looking at:

FeatureRESEXE or DLL
ContainsResources onlyResources and code
StageBefore linkingThe finished build
RunsNo, it is dataYes, it is a program
Icon livesLoose in the fileIn the resource section
⚠️ Worth remembering: A loose .res is a build file, not a program. If you want the icon from software you already have, the .exe or .dll carries the same art, and a reader opens either one.

📂 How to Open a RES File

What you reach for depends on why you are opening it. To read the resources you want a resource reader, not a compiler:

✅ Read the Resources (Recommended)

  1. Give the .res to the Univik ICO Converter.
  2. Browse the icons packed inside it.
  3. Choose the ones you want.
  4. Send them out as ICO or PNG files.

🧰 Other Routes

  • Visual Studio: opens a .res for a developer to edit its resources.
  • A resource editor: browses the entries one by one.
  • A hex viewer: shows the raw bytes for the curious.
  • Not a double click: a .res has nothing to launch.

🖼️ Extract the Icons

Since the icons in a .res are stored as finished icon data, pulling them out is a read, with nothing to decode:

📤 Get the Icon Out

  1. Load the .res into the Univik ICO Converter.
  2. Pick an icon from the ones it lists.
  3. Keep it as an ICO or a PNG file.

📚 The Same Tool for Programs

The converter reads a .res the way it reads the resources baked into a program. Extracting icons from EXE and DLL files shows that in full, and a .res answers to the same reader.

🔒 Are RES Files Safe?

A .res is data, not a program. It holds resources and nothing that runs, so on its own it cannot do anything. That makes it one of the calmer files you can come across, a build artifact with no moving parts.

✅ The one thing to note: The icons and images inside a .res are the work of whoever built the project it came from. Reading them is fine, but reusing that art in something you publish is a question of rights, not safety.

❓ Frequently Asked Questions

A RES file is a compiled Windows resource file. It is the binary that the Resource Compiler builds from a text .rc script, holding an application's icons, cursors, bitmaps, dialogs and strings in one place, ready for the linker to fold into the finished program.

The .rc is the source and the .res is the build. An .rc is a text script that names and describes the resources. Running it through the Resource Compiler produces the .res, a binary file that carries those resources in a form the linker can use. In short, .rc compiles to .res.

To read the resources inside, for the icons or a look at what it holds, open the .res in a tool that reads compiled resources such as the Univik ICO Converter. A developer editing the resources would open it in Visual Studio instead. You do not run a .res, since it is data rather than a program.

Yes. A .res holds the application's icons in binary form, so a reader lifts them straight out. Load the .res into the Univik ICO Converter, then write the ones you want to ICO or PNG.

No. A .res holds only resources, and it holds them loose, before linking. An EXE is the finished program, with those resources folded into it alongside the code. The .res is a step on the way to the EXE, not the EXE itself.

No. Once the linker has folded a .res into an EXE or DLL, the resources live inside that program and the loose .res is no longer needed to run it. A .res you find is a leftover from a build, not something the finished software depends on.

They come out of a build. A developer writes an .rc script, and the Resource Compiler that ships with Visual Studio and the Windows SDK turns it into a .res. You see one inside a project's build folder or among the intermediate files of a compiled program.

A .res is data, not code, so it does not run and cannot act on its own. It is a harmless build file. The only thing to keep in mind is that the icons and images inside one may belong to whoever built the project it came from.

🛠️ Related Tools

ICO Converter

Open a .res and save the icons packed inside it as ICO or PNG.

Open RES Files →

What Is an ICO File?

The icon format a .res stores its icons in, explained end to end.

Read the Guide →

📝 Summary: Key Points About RES Files

  • RES is a compiled Windows resource file
  • Built from an .rc script by rc.exe
  • Holds icons, bitmaps, dialogs and more
  • A binary, not a text file
  • Linked into the final EXE or DLL
  • It is data, not a program to run
  • A build leftover in a project folder
  • Icons sit inside as ready ICO data
  • Read it with an icon tool, not a compiler
  • Harmless on its own, a plain build file