100% Private

Haddock to HTML Converter - Haskell Documentation Tool

Convert Haddock markup to HTML with type signatures, code examples, and Haskell syntax. Perfect for Hackage docs, functional programming APIs.

Drop Haddock file here or click to browse

Accepts .hs, .lhs, .txt files

Enter Haddock markup to see preview

Common Haddock Syntax
Haddock Syntax Description HTML Result
-- | Documentation Function documentation Block documentation above declaration
{-| Multi-line doc -} Multi-line documentation Block documentation with multiple paragraphs
/emphasis/ Italic text emphasis
__bold__ Bold text bold
@code@ Inline code code
'identifier' Link to identifier <a>identifier</a>
"Module.Name" Link to module <a>Module.Name</a>
>>> example Code example with output <pre>example</pre>
> code block Bird-track code block <pre><code>code block</code></pre>
<url> Hyperlink <a href="url">url</a>
* List item Unordered list <ul><li>item</li></ul>
(1) Numbered item Ordered list <ol><li>item</li></ol>
Copied to clipboard

Related Tools

View all Markup converters →

Privacy Notice: This site works entirely in your browser. We don't collect or store your data. Optional analytics help us improve the site. You can deny without affecting functionality.