.reg
🔧 ConfigText-based

.reg File — Windows Registry File

text/plain

File Inspector

Drop any file to identify its extension and type — runs entirely in your browser

REG

Drop a .reg file here or click to choose

Or drop any file to identify its extension

Expected MIME type:text/plain

Quick Facts

Extension.reg
Full NameWindows Registry File
MIME Typetext/plain
CategoryConfig
TypeText-based (human-readable)
Typical Size100 B – 100 KB
First Appeared1992

What Is a .reg File?

REG files are Windows Registry script files that contain registry keys and values in a human-readable text format. When executed (double-clicked), REG files merge their contents into the Windows Registry — the hierarchical database that stores operating system configuration, user preferences, software settings, and hardware information. REG files start with a version header (Windows Registry Editor Version 5.00) followed by registry key paths in square brackets and name-value pairs below each key. The format supports string values (REG_SZ), expanded strings (REG_EXPAND_SZ), multi-string values (REG_MULTI_SZ), DWORD integers (REG_DWORD), QWORD integers (REG_QWORD), and binary data (REG_BINARY). Key paths prefixed with a minus sign (-) indicate deletion of that key. REG files are used for distributing registry tweaks, backing up and restoring registry settings, deploying configuration changes across multiple computers, and sharing system customizations. They can be exported from the Registry Editor (regedit.exe) and imported through regedit or the reg command-line tool. Caution is essential when applying REG files, as incorrect registry modifications can cause system instability or prevent Windows from booting.

How to Open .reg Files

Notepad
VS Code
Registry Editor (regedit)
Notepad++
any text editor

Related File Extensions

More Config File Extensions

Other config formats you might encounter

Browse File Extensions by Category

Explore our reference of 259 file extensions with details, programs, and related formats.