Microsoft PowerToysis an open-source project that adds new utilities and controls to Windows 10 and 11.

The latest release has a helpful new tool: a preview tool for registry files.

you might use it by selecting Registry Preview in PowerTools, and clicking the Open File button.

Screenshot of a registry file in PowerToys

You candownload PowerTools from the Microsoft Store.

PowerTools is alsoavailable on GitHub, but ensure you grab the right version for your CPU architecture.