wxWidgets wxPython resource file
File type: Source code and script file
The .xrc file extension identifies an XML resource file used by wxWidgets and wxPython.
The file describes graphical user-interface resources, such as windows, dialogs, controls, menus, and toolbars, so an application can load them separately from its program code.
File type category:
Source code and script file
Date updated: October 30, 2026
wxWidgets is an open-source, cross-platform application framework. Its XRC resource system lets developers define parts of an application's interface in XML and load those definitions at runtime. wxPython provides access to the same resource system from Python.
An XRC file can contain the properties and hierarchy of interface objects, including their identifiers, labels, and sizes. Separating these resources from source code can make interface design and localization easier. wxWidgets can be used with languages including C++, Python, Perl, and C#/.NET.
wxWidgets supports platforms including Win32, macOS, GTK+, X11, Motif, and historically Windows CE. It uses the platform's native controls where available, so applications can follow the look and behavior of their host system. The XRC format remains part of the wxWidgets and wxPython ecosystem.
An .xrc file is XML, so it can be viewed or edited with a text or XML editor. On macOS, XRCed can be used to inspect and edit wxWidgets resource files. On Windows, Adobe ExtendScript is associated with this extension and can open the file as text, but it does not provide the wxWidgets resource editor.
To use the resources in an application, load the file through the wxWidgets or wxPython XRC API rather than opening it as a standalone document.
There is usually no useful standalone conversion for an .xrc file. It is an XML definition intended to be loaded by wxWidgets or wxPython. Developers can edit the XML or recreate the interface in another toolkit, but that is a redesign rather than a direct file conversion.
Software applications that can open xrc files:
Microsoft Windows
Apple macOS / Mac OS X
Software applications that can edit xrc files:
Microsoft Windows
Apple macOS / Mac OS X
Software capable of saving xrc files:
Microsoft Windows
Apple macOS / Mac OS X
Software applications that handle other tasks involving xrc files:
Microsoft Windows
Apple macOS / Mac OS X