Input (Markdown)
# Title
Some **bold** and *italic* text.
- one
- twoMarkdown ↔ HTML converts Markdown's lightweight, readable syntax into clean HTML and can convert HTML back into Markdown. Headings, lists, links, images, emphasis, code blocks, and blockquotes are all mapped to their HTML equivalents. It's perfect for previewing README files, generating page markup from notes, or extracting simpler Markdown from existing HTML — all in both directions.
Markdown is a plain-text formatting syntax created by John Gruber and standardized by CommonMark, designed to be easy to write and read as-is. HTML (HyperText Markup Language) is the structural language of the web, built from tags and attributes that browsers render. This tool maps Markdown constructs onto semantic HTML elements such as <h1>, <ul>, <a>, and <code>, bridging authoring convenience with web output.
The main file is the entry point for each run.
Use the Input panel to pipe standard input to your program when it needs data.
Run sends your code to a fresh hosted runtime and streams the result into the output panel.
Your draft stays in this browser, and Share creates a separate snapshot link.
# Title
Some **bold** and *italic* text.
- one
- two<h1>Title</h1>
<p>Some <strong>bold</strong> and <em>italic</em> text.</p>
<ul>
<li>one</li>
<li>two</li>
</ul>See [docs](https://example.com) and `npm install`.<p>See <a href="https://example.com">docs</a> and <code>npm install</code>.</p>> Note: be careful.
>
> Second line.<blockquote>
<p>Note: be careful.</p>
<p>Second line.</p>
</blockquote>## Steps
1. Install
2. Build
3. Ship<h2>Steps</h2>
<ol>
<li>Install</li>
<li>Build</li>
<li>Ship</li>
</ol>
```js
const x = 1;
```<p><img src="/logo.png" alt="logo"></p>
<pre><code class="language-js">const x = 1;
</code></pre>| Name | Age |
| --- | --- |
| Ada | 36 |
| Linus | 54 |<table>
<thead>
<tr>
<th>Name</th>
<th>Age</th>
</tr>
</thead>
<tbody>
<tr>
<td>Ada</td>
<td>36</td>
</tr>
<tr>
<td>Linus</td>
<td>54</td>
</tr>
</tbody>
</table>Done ~~later~~ now.
---<p>Done <del>later</del> now.</p>
<hr>The editor uses Monaco, the engine behind VS Code, with language-aware editing tools and familiar keyboard controls.
Paste Markdown to render clean HTML, or paste HTML to extract simpler Markdown.
Headings, lists, links, images, emphasis, code blocks, and blockquotes all map across.
Follows CommonMark-style Markdown conventions.
Markdown constructs map to semantic HTML like <h1>, <ul>, <a>, and <code>.
Going back, HTML tags are reduced to their lightweight Markdown equivalents.
Inline emphasis and fenced code blocks are preserved in both directions.
Previewing README files or generating page markup from notes.
Converting existing HTML into easier-to-edit Markdown.
Rendering happens entirely in your browser — your content is never sent out.
Safe for drafts and private documentation.
Output
HTML output