Suggestions appear as you type. Use the up and down arrows to choose one and Enter to open it.

This page's audience our own tag's counts — open to see them
–Visits
–Page views
–Clicks to vendors
–Time on page
–Reading now
Clicks to vendors, by tool
  • –
Top countries
  • –
Devices
  • –

– · visits, page views and clicks counted by our own tag, which counts more than our checked analytics; every figure rounded down · how we count

Fourmolu

Free#23 of 34 in Code Formatting Tools

Fourmolu: A focused Haskell formatter with YAML configuration, CI checks, and editor integration. Ranked #23 of 34 in Code Formatting Tools by our editors (7.0/10); pricing: Open source; best for configurable Haskell formatting.

7.0/10Editor score
Fourmolu7.0 Visit Fourmolu

At a glance

  • Editor score
    7.0 / 10
  • Pricing
    Open source
  • Best for
    Configurable Haskell formatting
  • Paid from
    Free
  • Supported languages
    Haskell
  • Facts checked
    21 Sep 2026
Fourmolu screenshot
  • Where it wins

    • YAML and CLI options support configurable formatting
    • Check mode supports detecting unformatted files in CI
    • Integrates with Haskell Language Server and GitHub Actions
  • Where it doesn't

    • Supports Haskell rather than multiple programming languages
    • Platform coverage centers on web and Windows
    • Configuration adds choices for teams seeking fixed formatting rules

Our verdict on Fourmolu

Fourmolu is an open-source formatter for Haskell source code, intended for individual developers and teams that want consistent formatting with control over project rules. It uses GHC-based parsing and can format files, directories, or standard input. Developers can apply changes in place, while teams can define formatting through fourmolu.yaml files or command-line options. Its browser-based formatting application also provides a web option for working with Haskell code.

Its strongest distinction is configurable workflow coverage. Fourmolu can format Git-tracked Haskell files, restrict formatting to selected start and end lines, and use magic comments to disable or re-enable formatting in specific regions. Check mode is suited to CI workflows because it detects unformatted files without applying changes. GitHub Actions integration supports that automation path, while Haskell Language Server integration connects formatting with the editor environment. The formatter can also be used as a library from other Haskell programs, which suits teams building Haskell-based tooling around a shared formatting rule set.

Fourmolu is a focused choice for Haskell teams that need more control than a fixed formatter provides, especially when repository configuration, selective formatting, editor support, and CI checks are important. Its scope is deliberately narrow: the supported language is Haskell, and its documented platform coverage is web and Windows rather than a broad cross-platform matrix. Teams seeking a formatter for several programming languages, or a tool centered on a wider editor and operating-system ecosystem, should consider a broader alternative. For Haskell projects, Fourmolu fits best when configurable rules and multiple formatting workflows matter.

Your product? Our editors can test Fourmolu in depth and publish a review, labelled as paid · from $149/mo →

Fourmolu pricing

Plans Open sourceFree Free to use — no paid tier required for the core job.
See plans on fourmolu.github.io

Fourmolu fact sheet

Free planNot verified
Paid fromFree
Supported languagesHaskell
Supported platformsweb, windows
Editor integrationYes
Ignore filesNot verified
Changed-lines formattingNot verified
Library APIYes
License modelOpen_source
DeploymentCloud, Self-hosted
PlatformsWeb, Windows
SupportDocs
Built forSolo, Small business, Mid-market (editorial estimate)
Integrations2 integrations: Haskell Language Server, GitHub Actions
PricingOpen source
Websitefourmolu.github.io
Facts checked21 Sep 2026

Fourmolu integrations

Fourmolu lists 2 integrations on its own site.

  • Haskell Language Server
  • GitHub Actions

Alternatives to Fourmolu

See all Fourmolu alternatives →

Used Fourmolu? Be the first to review it

The editor score above is our own research. What this page doesn't have yet is a reader's view — what you used Fourmolu for, what worked and what didn't. No stars are seeded and no review is paid for; an editor reads every one before it appears.

Write a reviewTwo minutes · verified accounts only · read by an editor before it appears

Reviews come only from verified accounts. Sign in or create an account first — your e-mail is never shown.

Your rating

0 characters · at least 80, up to 3,000

Posted from your verified account. Reviews appear after an editor reads them, usually within two working days.

Featured on iTechGuides

Featured on iTechGuides — Fourmolu 7.0/10

Fourmolu is listed in our Code Formatting Tools directory. Add the badge to your site — it links back to this page.

<a href="https://www.itechguides.com/products/fourmolu/"><img src="https://www.itechguides.com/best/badge/fourmolu.svg" alt="Featured on iTechGuides" width="230" height="46"></a>

Reviewed by iTechGuides Editors · Editorial team · Updated Oct 2026

Advertiser disclosure: iTechGuides is reader-supported. Vendors can pay for top positions in our rankings and for a place on other products' pages, and we may earn a commission when you click some links. Bought places stand at the number bought; this page and our disclosure say so. Paying vendors may get a fuller, more detailed review from our editors, and that review can change their score. How we rank.

Last updated · How we research and update