Haddock is the documentation markup of the Haskell ecosystem: -- comment blocks attached to functions, rendered into the API docs every Hackage package ships.
Typical use: Convert Haddock comments when moving Haskell documentation into Markdown or HTML handbooks.
About the Haddock format
Haddock is how Haskell explains itself: documentation comments in -- blocks, marked up with 'links' to identifiers, @monospace@ and /italics/, compiled into the API reference pages every package on Hackage publishes. The markup lives inside source files, but the format is its own small language.
Converted out of source comments, Haddock text becomes ordinary structured prose: Pandoc maps headings, code blocks and identifier links onto Markdown or HTML, so API knowledge can move into handbooks, wikis or static-site generators without retyping.
Strengths
- ✓ Documents live next to the code they describe
- ✓ Identifier-aware linking across the API
- ✓ Standard for the entire Haskell ecosystem
Limitations
- ✗ Meaningful only inside Haskell projects
- ✗ Small grammar, few writers outside Haddock itself
- ✗ Embedded in comments — needs extraction first
- Structure
- Comment markup (--, 'links', @mono@)
- Types / schema
- UTF-8 text
- Compatibility
- Haskell, Hackage, Pandoc
- Best for
- Haskell API documentation
Convert Haddock to…
6 direct directions plus 1 workflows, sorted A–Z; 🔥 marks popular targets.
Cross-engine workflows
Frequently asked questions
What is a Haddock file?
Haddock is the documentation markup of the Haskell ecosystem: -- comment blocks attached to functions, rendered into the API docs every Hackage package ships.
How do I convert Haddock files online?
Pick a target format from the "Convert Haddock to…" list below, drop your file and hit convert. Everything runs in your browser — no install, no upload, no watermark, no limits.
Is it safe to convert Haddock files here?
Yes. Every conversion is performed by your own device inside the browser — files never leave for a server, and the page keeps working even offline.
Which formats can Haddock convert to?
This page lists all 7 directions across documents, images, audio, video, spreadsheets and archives — each one is its own free converter page.