CABAL

cabal icon

Haskell Cabal package description file

File type: Various data file

A Haskell package description is a plain-text file used by the Cabal system to define a Haskell package and its build settings.

What is cabal file?

File type category:
Various data file

Date updated: November 19, 2026

Cabal is the Haskell package system and build tool, used on Windows and other platforms to build and package Haskell libraries and programs. Each .cabal file describes a package for Cabal to process.

The file can specify package metadata, such as the package name and version, along with dependencies and settings for components such as libraries and executables. It is part of the package's source files and guides Cabal when configuring and building the package.

The plain-text format remains in use with the Cabal toolchain. It is intended to be read and maintained as package metadata, rather than opened as a standalone application document.

How to open cabal file?

Open a .cabal file in a plain-text editor to inspect or edit its package description. The Cabal command-line tool reads the file when it configures or builds the Haskell package; it is not a standalone document viewer.

How to convert cabal file?

No general-purpose conversion is normally needed for a .cabal file. It is package metadata consumed by Cabal, not a document intended for export to another format; make changes in a text editor and use Cabal to process the package.

Suggested software to open cabal file:

Associated software actions with the cabal file

Software apps that create cabal files:

Multiplatform

Software applications that handle other tasks involving cabal files:

Multiplatform

Related file extensions