DWARF

dwarf icon

Deebug with arbitrary record format file

File type: Source code and script file

Files with the dwarf file extension contain debugging information generated by compilers. Source-level debuggers use this information to relate compiled code to its source code.

What is dwarf file?

File type category:
Source code and script file

Date updated: November 13, 2026

DWARF is a debugging information format used by many compilers and debuggers for source-level debugging. It supports languages such as C, C++, and Fortran, and can be extended to support other languages.

DWARF data can describe source-line mappings, program symbols, types, and scopes. A compiler may place it in an executable or object file, or provide it separately for a debugger to use with the corresponding program.

The format is architecture independent and applicable to any processor or operating system. It is widely used on Unix, Linux, and other operating systems, as well as in stand-alone environments.

How to open dwarf file?

A .dwarf file is not meant to be opened manually as a document. Use a debugger such as GDB or LLDB with the matching executable or object file; the debugger reads the associated DWARF information to show source-level details.

How to convert dwarf file?

DWARF is debugging metadata, so it has no general-purpose conversion to another format that preserves its information. If another debugging format is required, rebuild the program with a compiler configured to emit that format, if supported by the toolchain.

Related file extensions