UTILITIES NEWBIE

Markdown to HTML converter

Convert headings, paragraphs, lists and simple emphasis to HTML. Inspect both the source and a restricted preview without running source code or loading remote resources.

Input

0 UTF-16 code units

Inputs start empty. Load example fills them only when you choose it. Reset clears current inputs and results.

Output

This tool processes inputs in your browser. See the Privacy Policy for details about hosting and performance measurement.

Map the small note. Full explanation follows.
Heading -> h1. Text explanation

The checked Plan note becomes a heading, a paragraph with one strong phrase and a two-item unordered list. This illustrates the limited Markdown feature set; unsupported syntax must not be inferred from a successful simple conversion.

Turn a simple note into a small HTML fragment

Match the note to the supported feature set

This converter turns a limited Markdown-style note into HTML source. It supports hash-prefixed headings, simple paragraphs, unordered list lines, emphasis, strong emphasis, inline code and fenced code blocks within its implementation. It is not a complete CommonMark or GitHub-flavored Markdown renderer. Start by checking whether your note uses the supported features rather than assuming that every familiar Markdown extension will be interpreted. The result is source text you can inspect and hand off. It does not automatically update a website, fetch linked resources or decide whether the resulting fragment belongs in a document.

A good task is preparing a short synthetic help note with one heading, one paragraph and a small bullet list. Such a specimen makes it easy to compare the writer's intended structure with generated tags. More complex documents may rely on links, tables, nested constructs or renderer-specific extensions that this page does not implement. When a feature remains literal text, do not keep adding punctuation until the output looks right by accident. Identify the required renderer or simplify the example intentionally, recording the difference rather than calling it equivalent to the original document.

Keep Markdown conversion separate from HTML escaping and HTML formatting. This converter recognizes its supported text notation and creates tags for those structures. Raw HTML in the source is escaped instead of treated as a request to create arbitrary elements. A later formatting operation has a different purpose and does not supply missing Markdown features. The page's preview is a separate display surface, not a guarantee of appearance under your site's CSS. Retain the original note so you can compare source, generated HTML and destination rendering as distinct stages.

Follow a heading, strong phrase and list

Checked synthetic input

# Plan

A **small** note.

- One
- Two

Exact observed output

<h1>Plan</h1>
<p>A <strong>small</strong> note.</p>
<ul>
<li>One</li>
<li>Two</li>
</ul>

The worked note starts with a Plan heading, then a paragraph containing a strongly emphasized word, then two unordered items. The exact checked output contains an h1, a paragraph with a strong element, and a ul containing two li elements. Output lines separate those generated pieces. The example below includes the complete source and result so that the blank lines and list markers can be reproduced. The diagram explains the mapping from note structure to tags rather than suggesting that the converter has inferred a complete article outline or document title.

Blank lines help delimit paragraphs in this implementation. Two ordinary consecutive source lines are combined into one paragraph with a space between them in the checked specimen. That is not a promise to preserve source line wrapping as visible line breaks. If a note depends on exact whitespace, inspect the appropriate code or preformatted representation instead of assuming that a normal paragraph is the right container. Compare the actual generated text, because a screenshot may conceal whether a line break came from source syntax, output formatting or the width of the browser window.

Inline code makes a literal example clearer. The checked text containing a tag spelling in backticks produces a code element whose angle brackets are escaped in the HTML source. A raw script-looking fragment is also represented as escaped text rather than executed by the processor. This behavior is useful for simple teaching examples, but it should not be promoted into a universal sanitization guarantee for arbitrary Markdown pipelines. A different renderer may accept raw HTML or implement more features. Review the actual destination and trust boundary rather than treating all Markdown tools as interchangeable.

Know the parser and size constraints

The source limit is 100,000 UTF-16 code units and the generated output limit is 1,000,000 characters. Optional file import has its own interface limit, which should be checked separately from a character count. The processor rejects NUL characters and an unclosed fenced code block rather than inventing a missing close. A fence begins on a line starting with three backticks in this implementation; labels after that opening do not supply a syntax-highlighting engine. The converter creates escaped code text, not execution or a verified programming-language interpretation of the block.

The supported inline patterns are deliberately limited. Do not infer robust handling of every nested emphasis combination, link, image, escape convention or extension from the success of a simple bold phrase. In a checked example, bracket-and-parenthesis link syntax remains literal text in a paragraph. That is an observable limit, not a broken network fetch. The converter does not retrieve the referenced address to fill in missing content. If links or other extended structures are essential to your task, select an appropriate renderer and verify its behavior rather than describing this output as a full translation of that document.

HTML output still needs review in its destination context. The converter does not choose a site's heading hierarchy, provide accessible link text, add image alternatives or decide which content should be published. It also does not establish that a whole page is valid, secure or compatible with every browser. Those questions require the surrounding document and application. A fragment can faithfully express this small note and still be placed incorrectly in a larger article. Keep the result proportional to the evidence: supported syntax converted under this implementation, with source and exact output available for inspection.

Build a repeatable writing workflow

For a short help snippet, write the raw note first and retain it as the editable source. Convert a copy, compare heading text, paragraph boundaries and item order, then inspect the generated fragment in the actual publishing environment. Use a small fixture with the same notation as your real note, so the test exercises the relevant feature rather than merely proving that plain text becomes a paragraph. If a publishing system already converts Markdown, determine whether it expects the raw note or HTML before pasting a second converted representation into it.

For a documentation bug report, record the exact note and the feature that behaved unexpectedly. A link that remains literal, a missing blank line or an unclosed fence describes a different problem from incorrect output tags. Show the expected supported behavior with a minimal synthetic specimen and distinguish it from a request for an unsupported extension. Copy and Download transfer generated output after a successful run; they do not submit it to another renderer or confirm that a content management system stored it unchanged. Keep the original note available when comparing those later stages.

For code examples, inspect both the code text and its surrounding generated tags. Do not remove escaping because the source looks crowded with references: those references can be the correct way to display literal angle brackets. Conversely, do not claim that escaping in this tool makes every later embedding safe. The useful endpoint is an accurate small fragment, a preserved editable note and an explicit statement of unsupported features. That gives a teammate enough evidence to reproduce the conversion without promising complete Markdown compatibility, an automatic release or a security certification.

Supporting reference: CommonMark comparison context; this tool is not a conforming full implementation.

Related existing tool: html escape.

Find a tool

Type a tool name, such as JSON or percentage.

Quick links

Browse by category

All tools