Ormolu
Ormolu: A focused GHC-based formatter for consistent Haskell code and CI checks. Ranked #22 of 34 in Code Formatting Tools by our editors (7.1/10); pricing: Open source; best for haskell teams wanting GHC parsing.
At a glance
- Editor score7.1 / 10
- PricingOpen source
- Best forHaskell teams wanting GHC parsing
- Paid fromFree
- Supported languagesHaskell
- Facts checked21 Sep 2026

Where it wins
- Uses GHC’s parser and supports Haskell language extensions
- Formats, checks, or replaces files from the command line
- Integrates with editors, Haskell Language Server, and GitHub Actions
Where it doesn't
- Supports Haskell rather than multiple programming languages
- Does not include AI features
- Its formatting scope is centered on source code rather than broader workflows
Our verdict on Ormolu
Ormolu is an open-source code formatter for Haskell source code, aimed at teams and individual developers who want a consistent style built around GHC’s parser. It can print formatted code to standard output, replace files in place, check whether files are formatted, process multiple files, and format selected regions by line range. Its focus is narrow and clear: Haskell formatting across Linux, macOS, Windows, and the web.
The strongest part of Ormolu is its Haskell-specific parsing and language coverage. It supports language extensions, dependencies, fixities, and re-exports, while magic comments can disable or enable formatting in selected areas. The stated formatting approach is designed for minimal diffs and idempotent output, which suits teams that want predictable changes in code review. A stable library module also lets Haskell programs use Ormolu as a library rather than only as a command-line tool.
Ormolu fits existing development workflows through Emacs, VS Code, Vim, Haskell Language Server, and GitHub Actions integrations. Configuration can be provided through .ormolu files, and the formatting check mode is suited to CI enforcement. The trade-off is its deliberately limited language scope: teams working across several programming languages will need another formatter for the rest of their codebase. It also has no AI features. Choose Ormolu when Haskell and GHC-based parsing are the priority; choose an alternative when you need a multi-language formatter or broader automated coding features.
Your product? Our editors can test Ormolu in depth and publish a review, labelled as paid · from $149/mo →
Ormolu pricing
Ormolu fact sheet
| Free plan | Not verified |
|---|---|
| Paid from | Free |
| Supported languages | Haskell |
| Supported platforms | Linux, macOS, Windows, web |
| Editor integration | Yes |
| Ignore files | Not verified |
| Changed-lines formatting | Not verified |
| Library API | Yes |
| License model | Open_source |
| Deployment | Self-hosted, Cloud |
| Platforms | Web, Windows, macOS, Linux |
| Support | Docs, Community |
| Integrations | 5 integrations: Emacs, VS Code, Vim, Haskell Language Server, GitHub Actions |
| Pricing | Open source |
| Website | github.com |
| Facts checked | 21 Sep 2026 |
Ormolu integrations
Ormolu lists 5 integrations on its own site.
- Emacs
- VS Code
- Vim
- Haskell Language Server
- GitHub Actions
Alternatives to Ormolu
- dprintA broad, editor-friendly formatter for multilingual repositories and changed-file workflows.9.4
- PrettierA broad, open-source formatter for web-language teams across editors and workflows.9.2
- SpotlessA build-focused formatter for JVM projects that need broad language coverage and automation.9.0
Used Ormolu? 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 Ormolu 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
Featured on iTechGuides
Ormolu 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/ormolu/"><img src="https://www.itechguides.com/best/badge/ormolu.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
