Back to homeTabvenir

Import Markdown (.md) into Notion: files, images and limits

To import MD to Notion on desktop or web, choose Settings → Import → Text & Markdown (or Markdown & CSV for a .zip archive with images) to run a Notion Markdown import with the official built-in importer—no third-party Notion API integration tokens required. Check the resulting Notion page before relying on the import; Tabvenir can prepare local .md notes first, and any Notion connection remains optional.

By Tabvenir · Published · Updated

Official Notion Markdown import: .md files, ZIP archives or read-only preview?

Whether you search for import md to notion, notion md import, notion import markdown, or notion markdown import official, the built-in workflow in Notion on desktop or web starts at Settings → Import → Text & Markdown (or Markdown & CSV when uploading a .zip bundle). That official built-in importer creates editable pages in your Notion workspace without asking you to create or grant a third-party Notion API integration token.

Choose the import method that matches your files before uploading. Uploading a single .md file through Text & Markdown turns that .md file into a Notion page (md to notion page) for text, headings, lists, tables and code blocks. If your note references a local ./assets/ image folder or nested subfolders, package the .md file and its image folder into a .zip archive and import that ZIP so Notion can resolve the relative paths.

Distinguish three separate actions: (1) direct paste into an open page for a short single snippet, (2) Settings → Import → Text & Markdown / Markdown & CSV (.zip) to convert one or many .md files into editable workspace pages, and (3) Notion Desktop’s Open With → Notion, which only opens a read-only local preview rather than importing the file into your workspace.

Turning an .md file into a Notion page: YAML frontmatter, tables and code

When you run a Notion MD import to turn a local .md file into a Notion page (md to notion page), Notion parses standard CommonMark and GitHub Flavored Markdown into native Notion blocks. A single top-level # H1 heading or the filename maps cleanly to the Notion page title, while ## H2 and ### H3 headings become section headings inside the page.

Before running a large batch import, check how Notion handles YAML frontmatter (title, source URL, captured_at date), GFM tables, fenced code blocks with language identifiers, and direct paste versus file import using the reference table below.

Import Markdown (.md) into Notion: files, images and limits
Markdown element or methodHow Notion MD import handles itWhat to check after import
Single # H1 heading (md to notion page)Maps the top heading or .md filename to the Notion page titleKeep one H1 at the top so section hierarchy starts cleanly at H2
YAML frontmatter (title, source, captured_at)Parsed as page properties or top metadata lines depending on importer pathKeep a clickable Source URL link in the Markdown body as well so the link is always visible
GFM tablesConverted into native Notion simple tablesCheck column alignment and cells containing pipes or inline code
Fenced code blocks (```js, ```python)Imported as Notion code blocks with syntax highlighting when the language tag is standardVerify indentation and line breaks on multi-line snippets
Direct paste vs .md / .zip file importPasting suits one short text clip; file/ZIP import handles multiple .md notes and bundled local images at onceUse Settings → Import for batches or notes with local assets

Why Notion Markdown tables fail to format: GFM pipe tables vs HTML conversion

Q: Why does a Markdown table paste as plain lines or fail to format in Notion? Notion expects GitHub Flavored Markdown (GFM) pipe tables that pair a header row (`| Column A | Column B |`) with an explicit delimiter row (`| --- | --- |`) and matching column counts on every row. Raw HTML `<table>` tags, spanned `colspan`/`rowspan` cells, nested blockquotes inside cells, or unescaped literal `|` pipe characters frequently prevent clean conversion.

Q: How does Tabvenir prepare tables before Notion import? Tabvenir uses local Defuddle and Turndown rules to convert standard HTML tables into GFM pipe tables during extraction so plain `.md` files and ZIP exports work cleanly with Notion’s Text & Markdown importer. Complex multi-header tables or inline HTML widgets should still be inspected against the original page after import.

Import Markdown (.md) into Notion: files, images and limits
Table formatting issueCause in Markdown sourcePractical fix for Notion
Table renders as plain lines on paste or importMissing delimiter row (`| --- | --- |`) or trailing blank lines breaking the table blockEnsure row 2 has matching `---` separators per column with blank lines before and after the table
Extra split columns inside one rowUnescaped literal `|` pipe characters or code snippets inside cell textEscape inline pipes as `\|` or wrap expressions carefully before running Settings → Import
Complex HTML grid or merged `colspan` cells lose layoutNotion simple tables use uniform columns without merged cells or raw HTML CSS layoutVerify complex tables manually in Notion or flatten nested cells to plain text rows

Start with one checked local note

Save a supported public article to a folder, or extract the ZIP before using the files. Open the Markdown locally and check that the text you need is present. Keep the original exported folder as a backup rather than deleting it as soon as import succeeds.

For a large collection, test an article containing headings, a list, a code block and an image first. You can then identify which parts of your particular collection need cleanup before importing the rest.

Try a small Markdown file before importing your collection

Download the practice ZIP and extract it. Inside markdown-check-kit, practice-note.md contains a heading, a three-item list, a small table, a code block, a source link and one relative PNG image. README.md describes the expected content; batch-checklist.md gives you a place to record your own results.

Tabvenir authored these practice files for this guide. They are not a captured customer article or evidence of a successful Notion import. We have not tested this kit inside Notion. You can inspect the files without installing Tabvenir, and choose whether to upload the practice note to a Notion workspace you control.

Open practice-note.md in a Markdown editor that supports local images and establish a baseline first. Then try Notion’s Text & Markdown importer and compare the resulting page with the checks below. Opening the file with Notion Desktop as a read-only preview is a separate action. If you want to try the folder/ZIP route, check Notion’s current instructions and inspect what it actually imports; a local relative image path is not a promise that the asset will be uploaded.

Download the Markdown practice kit (ZIP)

Import Markdown (.md) into Notion: files, images and limits
Check in the practice noteExpected local contentRecord after import
Heading and listMarkdown practice note; three numbered checksPresent, changed or missing
TableThree rows: rectangle, circle and triangleCheck that each shape still matches its description
CodeA short fenced Python example with indentationCheck line breaks; this example does not need to run
ImageA red rectangle, green circle and blue triangleCheck the visible image, not only its alternative text
Source linkA link back to this guideOpen the destination and verify it

How to import Markdown files into Notion

In the Notion desktop or web app, open Settings, choose Import, then Text & Markdown and select the saved files. Choose the destination workspace or page using the controls Notion presents. Consult Notion’s current help page if the menu or supported limits differ.

After import, check the resulting pages in Notion. Importing a .md file does not reproduce the source website’s design. Local image references and advanced Markdown may need adjustment; do not assume every asset was uploaded just because the page text appeared.

Multiple files, folders and Markdown limits

Notion supports selecting multiple Markdown files; a ZIP made from a folder can preserve its structure. Imports are available on desktop and web, not mobile. Standard Markdown is supported, while anchor links and tool-specific extensions may need repair. These points were checked against Notion’s help on 6 November 2026.

For a saved web-research batch, inspect one representative note before importing the rest. Keep the original folder and its images intact. If you choose a ZIP workflow, review which files it contains and check the resulting page hierarchy; do not assume an arbitrary export bundle maps perfectly to your preferred layout.

If a batch partly succeeds, check the destination for pages already created before retrying. Keep a short list of completed filenames so you can avoid duplicates. For current account limits or a persistent import failure, use the official help linked here.

Check images, links and formatting after import

A success message confirms that an operation completed; review the content you actually need. Compare the imported page with your saved file and the original source. Use this checklist on a small sample before relying on the full collection.

Import Markdown (.md) into Notion: files, images and limits
CheckWhat to compareIf it is wrong
Text and headingsThe opening paragraph and a useful section near the endFind whether the omission began in the local export or during import
ImagesA chart or photograph that matters to the noteCheck the local asset and its path; add the permitted original asset if needed
Code and tablesA code example or a row with important unitsRepair the formatting and verify that the meaning stayed the same
LinksThe original source URL and one internal referenceTest the destination and rebuild navigation where necessary
Your annotationsWhat you wrote versus what the source author wroteLabel the two separately before sharing or quoting the page

Keep a useful source trail

Saved notes include the source URL in metadata and a clickable link in the body. Keep these links when editing a note so you can return to the original page.

If a source has access restrictions or changed after saving, the exported note may differ from what a colleague sees at that URL. Record your own reading date or annotations when that distinction matters. A clipping is a reading aid, not proof that you own the source material.

Why local relative images break when importing Markdown into Notion (and how to fix it)

A frequent troubleshooting question is why local relative images break when importing Markdown into Notion. When you select a single .md file in your browser’s file picker (for example, a note containing ![Chart](./assets/chart.png) or ![Check](assets/local-check.png)), the browser only uploads that standalone .md text file. For security reasons, a web page cannot automatically read sibling folders like ./assets/ from your local disk, so Notion shows broken image placeholders.

You can fix broken local images during a Notion Markdown import in one of two ways: package the .md file and its accompanying assets/ folder together into a single .zip archive before importing, or keep full https:// image URLs when the source host permits external loading.

Import Markdown (.md) into Notion: files, images and limits
Import scenarioWhy images fail or succeed in NotionRecommended fix
Uploading a single .md file with ./assets/... pathsThe browser file picker only sends the .md file and cannot read your local assets/ folderZip the .md file and its assets/ directory together and upload the .zip via Settings → Import
Uploading a .zip containing .md + assets/ folderNotion unpacks the archive and resolves relative ./assets/ image paths against the bundled filesKeep the relative folder structure intact inside the ZIP archive
Keeping absolute https:// image URLs in .mdNotion fetches or references the remote image URL without needing a local folderWorks for public images; hotlink-protected or expiring signed URLs still need a ZIP with local assets

Send selected saved notes directly to Notion

In Tabvenir settings, enter a personal Notion connection token and a target page shared with that connection. Connect, then explicitly choose Save to Notion for the saved notes you want to send. This is included in Chrome 0.0.4; check the installed version if these controls are missing.

Direct saving sends the selected content to Notion’s API, not to a Tabvenir server. The personal connection token is retained for the browser session and cleared on restart or disconnect. Grant the connection access only to the destination pages you intend to use; Notion controls workspace permissions and storage.

When you choose Save to Notion, recorded local images are uploaded directly to Notion with the selected note. Images that failed local saving may still refer to public source URLs. Check the export result and retry failed images before relying on the Notion page as your archive.