How to Convert OneNote to Markdown (3 Reliable Ways)
How to Convert OneNote to Markdown (3 Reliable Ways)
Microsoft OneNote stores notes in its own proprietary format, and there is no clean one-click .one-to-Markdown converter. But getting your OneNote pages into Markdown — for an LLM, Obsidian, or any notes app — is straightforward once you know the path: export to a portable format first, then convert that to Markdown.
Here are the three approaches that actually work, from easiest to most thorough.
The Quick Answer
- Best for most people: Export the OneNote page/section to PDF, then convert the PDF to Markdown with file2markdown.
- Best for editable text: Export to Word (.docx), then convert the DOCX to Markdown.
- Best for a single page, fast: Copy the page content and paste it into a Markdown editor, then clean up.
Option 1 — OneNote → PDF → Markdown
This keeps layout and works for whole sections.
- In OneNote, open the page or section.
- File → Export (or Print → Save as PDF) and choose PDF.
- Upload the PDF to file2markdown's PDF converter.
- Copy the Markdown or download the
.mdfile.
Because the conversion runs server-side with OCR, even image-heavy or scanned pages come through as text.
Option 2 — OneNote → Word → Markdown
Use this when you want the cleanest editable text (Word preserves headings and lists well).
- In OneNote, File → Export → Word Document (.docx).
- Upload the
.docxto the DOCX-to-Markdown converter. - Review the headings and lists — Word's structure usually maps cleanly to Markdown.
Option 3 — Copy and Paste (Single Page)
For one quick page, select all (Ctrl+A), copy, and paste into any Markdown editor. You will lose some formatting and need to fix headings and lists by hand, but for a short note it is the fastest route.
Which Should You Choose?
| Goal | Best path |
|---|---|
| Whole notebook/section | OneNote → PDF → file2markdown |
| Editable, clean text | OneNote → Word → DOCX converter |
| One short page | Copy/paste into a Markdown editor |
| Feeding an LLM or RAG | Export → convert, so structure survives |
Why Convert OneNote to Markdown at All?
Markdown is plain text, portable, and the format LLMs read best. Once your notes are Markdown you can drop them into Obsidian, version them in Git, or feed them into an LLM or RAG pipeline without proprietary lock-in.
Bottom Line
There is no native .one-to-Markdown tool, but the export-then-convert path is reliable: send your OneNote page to PDF or Word, then run it through file2markdown for clean, LLM-ready Markdown in seconds.
The Markdown Memo
A fortnightly note for lawyers, researchers, accountants, and anyone else drowning in PDFs, scans, and decks. No spam.