MDConverter
Universal In-Browser Converter
100% Client-Side Private

Paste Markdown into OneNote with Formatting

OneNote doesn’t read Markdown, so pasted notes show # and ** everywhere. Paste your Markdown — notes from Obsidian, a README or an answer from ChatGPT — click “Copy for OneNote”, and paste into a page: headings, lists, tables and links arrive formatted, and code keeps its indentation in a shaded box.

  • Free, no watermark
  • No sign-up
  • Files never leave your browser
Try an example:
Paste Markdown or AI chat output, then use "Copy for OneNote" below and paste into a page. Runs in your browser. Nothing is uploaded.
Input · Markdown
Result · HTML

Sprint 14 notes

Goal: ship the new onboarding flow to 10% of users.

Decisions

  • Use feature flags, not a separate build
  • Weekly Fortnightly demos from now on

Action items

  • Ana — rollout plan
  • Sam — dashboard
Metric Target Now
Activation 40% 34%
Day-7 retention 25% 22%
def activation_rate(signups, activated):
    return activated / signups

Next review: Thursday 10:00

Words:83
Characters:456
Read time:~1 min
Headings:3
AI tokens:~111
Updates as you type
Markdown → HTML
Quick Tutorial

How to Convert Markdown to OneNote in 3 Simple Steps

No installation or registration required. Follow these steps to convert and export your files in seconds.

1

Paste your Markdown

Paste notes, a README or an AI answer into the editor.

2

Copy for OneNote

Click “Copy for OneNote”. Formatted content is placed on the clipboard.

3

Paste into OneNote

Click on a page and press Ctrl+V (Cmd+V on Mac). Works in OneNote for Windows, Mac, the web and mobile.

Real output, not a mock-up

Markdown to OneNote: Example Conversion

The output below was generated by the same converter that runs in the tool above, from one of its built-in samples. Load that sample in the editor to try your own changes.

Input — Markdown
## Deploy commands

```bash
kubectl rollout status deploy/web
kubectl rollout undo deploy/web
```

```yaml
replicas: 3
resources:
  limits:
    memory: 512Mi
```
Output — HTML
<h2 id="deploy-commands">Deploy commands</h2>
<pre><code class="language-bash">kubectl rollout status deploy/web
kubectl rollout undo deploy/web</code></pre><pre><code class="language-yaml"><span class="hljs-attr">replicas:</span> <span class="hljs-number">3</span>
<span class="hljs-attr">resources:</span>
  <span class="hljs-attr">limits:</span>
    <span class="hljs-attr">memory:</span> <span class="hljs-string">512Mi</span></code></pre>

Markdown in OneNote: what works and what doesn’t

OneNote has no built-in Markdown support. Microsoft doesn’t document it for OneNote on Windows, Mac, the web or mobile, and the feature request “Please add Markdown support” on Microsoft’s own community forum has been open since July 2021: when we read it in November 2026 it had 73 replies and no Microsoft commitment in the replies we could see. In practice, typing ## Heading into a OneNote page gives you those characters, and pasting an AI answer brings every # and ** along.

There are four ways round it:

Method Install Tables Code The catch
Convert, then paste (this page) Nothing Real OneNote tables Shaded box, indentation kept One note at a time; headings arrive as large bold text
Paste raw Markdown Nothing Pipes and dashes as text Fence marks (```) as text #, ** and - stay as characters
Paste from a rendered preview (an editor, a browser tab, Word) Nothing Depends on the app Depends on the app Brings that app’s fonts and colours; we haven’t tested every app
A third-party add-in that renders Markdown inside OneNote (OneMark is one people mention) Installation required Depends on the add-in Depends on the add-in Not tested by us

For a handful of notes, converting and pasting is the quickest route and needs nothing installed. If you write Markdown in OneNote every day, an add-in may suit you better; check what it needs before relying on it.

What “Copy for OneNote” puts on the clipboard (tested)

We ran this page’s converter in headless Chromium 153 on 17 November 2026 and read the HTML it places on the clipboard for each construct below. That shows what is sent to OneNote. We have not measured how every OneNote version displays it, so the last column says what to do after pasting.

What you write What is placed on the clipboard After pasting
#, ##, ### headings Bold text at 24, 18 and 14 pt Apply a Heading style (Home › Styles) to add it to the page outline
**bold**, *italic*, ~~strike~~ Bold, italic and strikethrough text Nothing
Nested bullet and numbered lists Nested lists at the same levels Nothing
- [ ] and - [x] ☐ and ☑ characters Select the lines and press Ctrl+1 for To Do tags (Windows and web)
A table One table with a shaded header row; left, centre and right alignment is included Drag column edges to resize
A fenced code block A one-cell table, light grey, Consolas 10 pt; each line ends in a line break, leading spaces are non-breaking, tabs become four spaces Nothing; code copies back out with its indentation
inline code Monospace text on a grey background Nothing
[text](url) and bare URLs A link Nothing
![alt](https://…) An image tag pointing at the original web address; no image file is attached Images on your computer are not embedded; add them with Insert › Pictures
> quote and --- An indented quote with a grey bar; a horizontal rule Nothing
Obsidian [[Note|alias]] The alias (or the note name) as plain text It is not a OneNote link
Obsidian > [!tip] Title A quote that starts with the title in bold Colour and icon are not carried over
==highlight==, %%comment%%, YAML front matter The highlighted words as plain text; comments and front matter removed Nothing
LaTeX: $$…$$, \( … \), \[ … \] The LaTeX source in a code-styled span, delimiters removed Rebuild with Insert › Equation
Footnotes ([^1]) Left as the literal text [^1] Edit by hand
#tags and :emoji: codes Left as typed Use OneNote’s own tags and emoji
Raw HTML such as <u> or <mark> Passed through unchanged Result depends on the OneNote version

Across everything we ran, the output had no class attributes and no <style> blocks, so every style is inline. The clipboard also carries a plain-text version in which table cells are separated by tabs, for apps that can’t paste formatted text.

One fix this testing led to: Markdown treats \, and \; as escapes, so a formula such as x\,dx used to arrive as x,dx, and ChatGPT’s \( … \) delimiters disappeared. Every formatted copy on this site (OneNote, Google Docs, Word, email) now keeps math as its LaTeX source, and an automated test (tests/onenote-paste.test.ts) guards it.

Large notes: size and speed (measured)

Because every element carries its own inline style, the formatted clipboard data is about ten times the size of the Markdown. We repeated a sample note (headings, a list, a table, a code block and a link, about 16 lines per repeat) to different lengths and timed the conversion on the same machine:

Note length Markdown Clipboard HTML Conversion time (median of 5 runs)
17 lines under 1 KB 2 KB 1 ms
161 lines 2 KB 16 KB 3 ms
1,601 lines 17 KB 161 KB 17 ms
8,001 lines 84 KB 806 KB 80 ms

Conversion is not the slow part. How long OneNote takes to accept a large paste depends on its version and your device, and we haven’t measured that. If a very long note pastes slowly, paste it in sections, splitting at a heading.

Getting a .md file into OneNote

OneNote can’t open Markdown files, so a .md file has to be converted first. Open the file with the upload button above (it accepts .md, .markdown and .txt) or paste its text, click Copy for OneNote, then paste into a page.

Coming from other apps? Obsidian users get [[links]], callouts and front matter handled automatically, and Notion exports can be cleaned first. For tables and formulas from AI answers, see copying a ChatGPT table and ChatGPT math in Word.

Known Limitations of Markdown to OneNote

What this converter does not do (yet), and what to do instead.

  • Headings paste as large bold text rather than OneNote’s Heading styles, so they do not appear in the page outline until you apply a style.
  • Checklists paste as ☐/☑ characters, not clickable To Do tags.
  • LaTeX math pastes as its LaTeX source in a code-styled span, and Mermaid diagrams paste as a code box; OneNote can’t render either. Rebuild formulas with Insert › Equation.
  • Footnotes ([^1]), #tags and :emoji: codes are left as typed.
  • Images are sent as links to their web address; pictures on your computer are not embedded, so add them with Insert › Pictures.
  • Whole folders of notes are converted one note at a time.
Syntax Cheat Sheet & Translation Guide

Markdown ↔ HTML Syntax Cheat Sheet & Reference Guide

Side-by-side syntax comparison and quick reference guide. Look up how headings, code blocks, tables, and typography elements translate between Markdown and HTML. Click any snippet to copy.

Syntax ElementMarkdown SourceHTML EquivalentBehavior & Notes
Heading
## Decisions
Large bold heading text
Use OneNote’s Styles to switch to Heading 2 if you want it in the page outline
Table
| Metric | Target | |---|---|
OneNote table, shaded header row
Resize columns by dragging in OneNote
Code block
```python def f(): ... ```
Shaded one-cell table, monospace
Indentation kept with non-breaking spaces
Task list
- [ ] Rollout plan
☐ Rollout plan
Press Ctrl+1 to make it a To Do tag
Link
[docs](https://…)
Clickable link
Ctrl+click to open in OneNote for Windows
Showing 5 syntax mappings← Swipe to view full table →
Format Comparison Matrix

Markdown vs. HTML — Deep Feature Analysis

Understanding the architectural trade-offs, ecosystem compatibility, and optimal workflows for each format.

Evaluation DimensionMarkdown CharacteristicsHTML CharacteristicsVerdict
Pasting raw Markdown# and ** shown as textReal formattingConvert before pasting
CodeSpacing collapses in OneNoteShaded monospace box, indentation keptConverted to OneNote’s usual code layout
TablesPipe charactersOneNote tablesConverted
3 architectural dimensions evaluated← Swipe to compare →

When to Use Markdown

Best for fast, distraction-free drafting, Git version-controlled documentation, developer pull requests, and multi-format source authoring.

When to Convert to HTML

Best for delivering formal client assets, corporate stakeholder review, publication on specialized platforms, or high-fidelity visual presentation.

Real-World Workflows

Who Relies on Markdown to OneNote?

Explore how engineering teams, technical writers, and data analysts streamline daily operations.

Students

Lecture notes from Markdown or AI summaries

Paste structured notes into a class notebook with headings, tables and formulas as text.

Impact: Notes that look like notes.
Teams on Microsoft 365

Meeting notes from a Markdown template

Write in Markdown, paste formatted notes into the shared OneNote notebook.

Impact: Consistent notes without manual formatting.
Developers

Keeping commands and snippets

Paste code into OneNote without losing indentation.

Impact: Snippets you can copy back out cleanly.
Best Practices & Pitfalls

Pro Tips & Edge Cases Handled for Markdown to OneNote

Practical advice for achieving high-fidelity conversions and resolving syntax edge cases.

Developer Pro Tips

  • Paste on an empty line of the page; pasting into an existing outline indents the content under it.
  • If OneNote asks how to paste, choose “Keep Source Formatting”.
  • For Word or Google Docs, use Markdown to Word or Markdown to Google Docs.
  • Moving notes out of OneNote instead? Copy them into HTML to Markdown.

Edge Cases Resolved Automatically

⚠️ Code with tabs or deep indentation
Resolution: Leading spaces become non-breaking spaces and tabs become four spaces, so OneNote cannot collapse them.
⚠️ Dark mode in OneNote
Resolution: Text colour is set to near-black, which OneNote adapts in dark mode; the code box background stays light grey.
⚠️ Very wide tables
Resolution: OneNote tables can be wider than the page; drag the columns narrower after pasting.
Frequently Asked Questions

Frequently Asked Questions About Markdown to OneNote

Comprehensive answers to common technical, formatting, security, and compatibility questions.

Not built in. Microsoft doesn’t document Markdown support for OneNote on Windows, Mac, the web or mobile, and a Markdown feature request on Microsoft’s community forum has been open since July 2021. Pasted Markdown keeps its # and ** characters, so convert it to formatted text first, as this page does, to get headings, bold text and tables into a OneNote page.

Under The Hood

How the Markdown to HTML Engine Works

Every step below runs in your browser tab; your content is never sent to a server.

01

Lexical Tokenization

Raw Markdown stream is parsed into syntax tokens with boundary and nesting validation.

02

AST Tree Construction

Tokens are mapped into a standardized in-memory Abstract Syntax Tree structure.

03

Semantic Translation

AST nodes are translated into compliant HTML elements, headings, and tables.

04

Client-Side Serialization

Output is generated directly in your browser, so it is ready to copy or download immediately.

Pipeline Architecture Specification

The Markdown is rendered with marked (GitHub Flavored Markdown) and turned into clipboard HTML with every style inlined, because OneNote ignores stylesheets. OneNote-specific adjustments: code blocks become a shaded one-cell table with <br> line breaks and non-breaking spaces for indentation, task checkboxes become ☐/☑, and the base font is Calibri 11pt, OneNote’s default. The clipboard also carries a plain-text version for apps that cannot paste HTML.

Processing Engine
marked + inline-styled clipboard HTML (OneNote flavour)
Specification Standards
GitHub Flavored Markdown → HTML clipboard for OneNote
Execution Latency
Instant
Privacy SLA
100% client-side (nothing is uploaded)

Why Choose MDConverter for Markdown to OneNote?

Headings, bold, italic, strikethrough, links, lists and quotes paste as OneNote formatting
Tables paste as real OneNote tables with a header row
Code blocks paste as a shaded box in a monospace font with indentation kept (OneNote has no code block)
Task lists become ☐ / ☑ checkboxes you can turn into OneNote To Do tags
Uses OneNote’s default font so pasted notes match the rest of the page
Converted in your browser — nothing is uploaded

100% Client-Side Privacy & Security Guarantee

Unlike online converters that upload your files to a remote server, MDConverter runs every conversion with JavaScript inside your browser tab. Your documents are never uploaded, so they never leave your machine.

Documents & Office Files

Move Markdown in and out of Word, PDF, PowerPoint, EPUB, OneNote, RTF, HTML, plain text and images.

Reverse directionHTML to Markdown ConverterConvert HTML to Clean MarkdownAlso usefulMarkdown to PDF ConverterConvert Markdown to Clean, Print-Ready Vector PDF DocumentsAlso usefulMarkdown to Word ConverterConvert Markdown to Word Documents (.docx) OnlineAlso usefulMarkdown to HTML ConverterConvert Markdown to Clean, Semantic HTML5Also usefulMarkdown to Plain Text ConverterMarkdown to Plain Text — Strip Markdown FormattingAlso usefulMarkdown to RTF ConverterConvert Markdown to Rich Text Format for TextEdit & WordPad
Browse all Markdown converters