Markdown to HTML Converter NZ

This tool converts Markdown into HTML, turning the simple, readable markup that writers love into the tags that browsers render. Markdown is a lightweight way of formatting text using plain characters: a hash for a heading, asterisks for bold and italic, square brackets for links, and dashes for lists. It was designed to be easy to write and easy to read in its raw form, which is why it has become the standard for README files, documentation, forum posts, notes and static websites. But to display formatted text on a web page you need HTML, with its angle-bracket tags, and converting between the two is a routine task for developers, writers and content creators. This converter does it instantly. You paste or type your Markdown, and the calculator produces the equivalent HTML source, handling the common elements: headings at every level, bold and italic emphasis, inline code, links, and unordered lists. The result updates as you type, so you can write Markdown and copy the HTML straight out. Everything runs in your browser with nothing uploaded. Use it to turn notes or documentation into HTML for a website, to learn how Markdown maps to HTML, to prepare content for a system that expects HTML, or simply to convert a snippet quickly. The output is the HTML source code, ready to paste into a page, a template or a content management system. This converter covers the everyday Markdown elements that account for most writing; very advanced features like tables, footnotes and nested structures vary between Markdown flavours and may need a full library. For typical formatted text, it gives you clean HTML in a moment.

Calculate.co.nz is proud to be partnered with realtor.co.nz, a trusted resource for navigating the New Zealand property market. Their Helpful Articles section offers clear, well-structured insights across buying, selling, and building, making complex real estate topics more accessible. With a focus on up-to-date guidance and practical knowledge, they empower Kiwis to move forward with clarity and confidence in a constantly evolving property landscape.
Calculate.co.nz partner: realtor.co.nz
Advertise on this page
<h1>Hello</h1> <p>This is <strong>bold</strong> and <em>italic</em> text with a <a href="https://calculate.co.nz">link</a>.</p> <ul> <li>First item</li> <li>Second item</li> </ul>

Handles headings, bold, italic, inline code, links and unordered lists. Advanced features (tables, footnotes) vary by flavour. Runs in your browser.

How it works

The text is first escaped so any existing angle brackets display safely. Then each Markdown pattern is matched and replaced with its HTML equivalent: hashes become heading tags, double asterisks become strong tags, single asterisks become emphasis, backticks become code, bracket-and-parenthesis become links, and dash-led lines become list items wrapped in a list.

Worked example

The Markdown # Hello becomes an h1 heading. A line with double asterisks around a word becomes that word wrapped in strong tags, and single asterisks become emphasis tags. A link written in Markdown brackets becomes an anchor tag, and dash-led lines become list items inside an unordered list.

Related calculators