stylish-haskell
stylish-haskell: A focused open-source formatter for Haskell imports, style rules, and source cleanup. Ranked #33 of 34 in Code Formatting Tools by our editors (6.0/10); pricing: Free plan; best for haskell import and style cleanup.
At a glance
- Editor score6.0 / 10
- PricingFree plan
- Best forHaskell import and style cleanup
- Free planYes
- Paid fromFree
- Supported languagesHaskell
- Facts checked21 Sep 2026

Where it wins
- Aligns and sorts imports, pragmas, case branches, and record fields
- Supports configurable formatting styles and several editor integrations
- Handles whitespace, tabs, line endings, and selected Unicode syntax
Where it doesn't
- Supports Haskell only
- Does not provide ignore-file rules
- Does not format changed lines only
Our verdict on stylish-haskell
stylish-haskell is an open-source Haskell formatter delivered as a command-line tool and library. It is suited to developers and teams that want consistent source formatting across imports, LANGUAGE pragmas, records, case branches, whitespace, line endings, tabs, and selected ASCII-to-Unicode conversions. The project supports Windows and Linux, uses self-hosted deployment, and can fit solo developers through enterprise teams that maintain Haskell codebases.
Its main strength is focused formatting depth. stylish-haskell can align and sort import statements, group and wrap LANGUAGE pragmas, align case branches and record fields, format data constructors, remove trailing whitespace, convert line endings, and replace tabs with spaces. Configurable formatting styles let teams define how source should be presented. Integration with Haskell Language Server, Vim, Emacs, Atom, and Visual Studio Code makes it practical for editor-based workflows, while command-line use also suits continuous-integration workflows.
The open-source model keeps the tool available without a paid tier, and installation options include Stack, Cabal, and selected Linux package managers. Documentation and community support are the listed support channels. Its scope is narrower than a full Haskell formatter: the published capabilities do not include ignore-file rules or changed-line-only formatting, and the supported language is Haskell. Choose stylish-haskell when import organization and detailed style cleanup are the priority; choose another formatter when a broader language scope, ignore controls, or changed-line workflows are central requirements.
Your product? Our editors can test stylish-haskell in depth and publish a review, labelled as paid · from $149/mo →
stylish-haskell pricing
stylish-haskell fact sheet
| Free plan | Yes |
|---|---|
| Paid from | Free |
| Supported languages | Haskell |
| Supported platforms | Windows, Linux |
| Editor integration | Yes |
| Ignore files | No |
| Changed-lines formatting | No |
| Library API | Yes |
| License model | Open_source |
| Deployment | Self-hosted |
| Platforms | Windows, Linux |
| Support | Community, Docs |
| Built for | Solo, Small business, Mid-market, Enterprise (editorial estimate) |
| Integrations | 5 integrations: Haskell Language Server, Vim, Emacs, Atom, Visual Studio Code |
| Pricing | Free plan |
| Website | github.com |
| Facts checked | 21 Sep 2026 |
stylish-haskell integrations
stylish-haskell lists 5 integrations on its own site.
- Haskell Language Server
- Vim
- Emacs
- Atom
- Visual Studio Code
Alternatives to stylish-haskell
- 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
See all stylish-haskell alternatives →
Used stylish-haskell? 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 stylish-haskell 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
stylish-haskell 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/stylish-haskell/"><img src="https://www.itechguides.com/best/badge/stylish-haskell.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
