# medmark

> Export your Medium articles to markdown(md).

Latest version **0.4.1** (published 2026-11-28) · MIT license · 0 weekly downloads

## Install

```sh
npm install medmark
pnpm add medmark
yarn add medmark
bun add medmark
```

Provides the command `medmark`.

## Health

**Score 75/100 (B)** — status: active.

Positive: has types; esm support; no vulnerabilities; has provenance; recently updated; high maintenance score; high quality score.

Warnings: low downloads; pre 1.0.

## Facts

| | |
|---|---|
| Version | 0.4.1 |
| Published | 2026-11-28 |
| First published | 2023-03-12 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Node | >=18.0.0 |
| Dependencies | 12 |
| Unpacked size | 262.6 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Provenance | attested (GitHub Actions) |
| GitHub stars | 1 |
| Author | Brion Mario |
| Maintainers | brionmario |
| Keywords | medium, medium-to-md, medium-2-md, m2m, medium-to-markdown, medium-to-mdx, markdown, medmark, mdx |

## Links

- npm: https://www.npmjs.com/package/medmark
- Repository: https://github.com/brionmario/medmark
- Homepage: https://github.com/brionmario/medmark#readme
- Issues: https://github.com/brionmario/medmark/issues
- npm.io page: https://npm.io/package/medmark

## Dependencies (12)

- [meow](https://npm.io/package/meow.md) ^5.0.0
- [chalk](https://npm.io/package/chalk.md) ^4.1.2
- [mkdirp](https://npm.io/package/mkdirp.md) ^0.5.1
- [cheerio](https://npm.io/package/cheerio.md) 1.0.0-rc.2
- [fs-extra](https://npm.io/package/fs-extra.md) ^11.1.0
- [turndown](https://npm.io/package/turndown.md) ^4.0.1
- [commander](https://npm.io/package/commander.md) ^10.0.0
- [@clack/prompts](https://npm.io/package/@clack/prompts.md) ^0.9.0
- [fake-useragent](https://npm.io/package/fake-useragent.md) ^1.0.1
- [node-html-parser](https://npm.io/package/node-html-parser.md) ^6.1.4
- [json-to-pretty-yaml](https://npm.io/package/json-to-pretty-yaml.md) ^1.2.2
- [turndown-plugin-gfm](https://npm.io/package/turndown-plugin-gfm.md) ^1.0.2

## Alternatives

- [@mdxeditor/editor](https://npm.io/package/@mdxeditor/editor.md) — 962.4K weekly downloads
- [mmdb-lib](https://npm.io/package/mmdb-lib.md) — 680.9K weekly downloads
- [playcanvas](https://npm.io/package/playcanvas.md) — 36.2K weekly downloads
- [@glw907/cairn-cms](https://npm.io/package/@glw907/cairn-cms.md) — 967 weekly downloads
- [markdown-to-confluence](https://npm.io/package/markdown-to-confluence.md) — 103 weekly downloads

## Recent versions

- 0.4.1 (latest) — 2026-11-28
- 0.4.0 — 2026-11-28
- 0.3.0 — 2026-07-13
- 0.2.6 — 2026-05-22
- 0.2.5 — 2026-05-16
- 0.2.4 — 2026-05-12
- 0.2.3 — 2026-05-12
- 0.2.2 — 2024-04-10
- 0.2.1 — 2024-04-10
- 0.2.0 — 2023-12-28
- 0.1.2 — 2023-05-01
- 0.1.1 — 2023-03-12

## README

<p align="center">
  <a href="https://brionmario.github.io/medmark">
    <img src="https://raw.githubusercontent.com/brionmario/medmark/main/apps/website/static/assets/images/brand/banner.svg" alt="medmark: export your Medium articles to Markdown" width="100%">
  </a>
</p>

<p align="center">
  <a href="https://badge.fury.io/js/medmark"><img src="https://badge.fury.io/js/medmark.svg" alt="npm version"></a>
  <a href="https://github.com/brionmario/medmark/actions/workflows/build.yml"><img src="https://github.com/brionmario/medmark/actions/workflows/build.yml/badge.svg" alt="Build"></a>
  <a href="https://github.com/brionmario/medmark/actions/workflows/release.yml"><img src="https://github.com/brionmario/medmark/actions/workflows/release.yml/badge.svg" alt="Release"></a>
  <a href="./LICENSE"><img src="https://img.shields.io/badge/license-MIT-green.svg" alt="MIT License"></a>
  <!-- ALL-CONTRIBUTORS-BADGE:START - Do not remove or modify this section -->
  <a href="#contributors-"><img src="https://img.shields.io/badge/all_contributors-1-orange.svg?style=flat-square" alt="All Contributors"></a>
  <!-- ALL-CONTRIBUTORS-BADGE:END -->
  <a href="http://commitizen.github.io/cz-cli/"><img src="https://img.shields.io/badge/commitizen-friendly-yellow.svg" alt="Commitizen friendly"></a>
</p>

<p align="center">
  <b>medmark</b> turns a Medium export into clean Markdown or MDX: front matter, images,
  embeds and a content registry, ready for Next.js, Astro, Hugo or anything else.
</p>

<p align="center">
  <a href="https://brionmario.github.io/medmark/docs"><b>Documentation</b></a> ·
  <a href="https://brionmario.github.io/medmark/docs/getting-started">Getting started</a> ·
  <a href="https://brionmario.github.io/medmark/docs/cli-reference">CLI reference</a> ·
  <a href="https://brionmario.github.io/medmark/docs/agent-skill">Agent skill</a> ·
  <a href="https://brionmario.github.io/medmark/showcase">Showcase</a>
</p>

---

## Documentation

Everything lives at **[brionmario.github.io/medmark](https://brionmario.github.io/medmark/docs)**:

|                                                                              |                                                   |
| ---------------------------------------------------------------------------- | ------------------------------------------------- |
| [Getting started](https://brionmario.github.io/medmark/docs/getting-started) | Export your archive and run your first conversion |
| [CLI reference](https://brionmario.github.io/medmark/docs/cli-reference)     | Every command and flag                            |
| [Configuration](https://brionmario.github.io/medmark/docs/configuration)     | Options, image strategies, skips and drafts       |
| [Templates](https://brionmario.github.io/medmark/docs/templates)             | Control the shape of the generated files          |
| [Content registry](https://brionmario.github.io/medmark/docs/registry)       | A manifest of your posts, plus RSS and a sitemap  |
| [Agent skill](https://brionmario.github.io/medmark/docs/agent-skill)         | Let a coding agent convert _and_ host your blog   |
| [Docs for AI](https://brionmario.github.io/medmark/docs/llms)                | `llms.txt` and Markdown copies of every page      |

## For AI agents

medmark ships an [agent skill](https://brionmario.github.io/medmark/docs/agent-skill) for Claude Code, Codex, Cursor and
friends. Installed, it takes the migration end to end: conversion, a blog built from the output, and the deploy. The
skill and its Next.js starter live in [`skills/medmark`](./skills/medmark).

Install it with the [`skills`](https://skills.sh) CLI, which every one of those agents reads:

```bash
npx skills add brionmario/medmark
```

Or, inside Claude Code, as a plugin. Type these into Claude Code itself, one at a time:

```text
/plugin marketplace add brionmario/medmark
```

```text
/plugin install medmark@medmark
```

Then ask for the whole thing in one sentence: _"Convert my Medium export to Markdown and get it hosted."_ The skill asks
whose blog it is, offers four looks, builds the site, previews it and walks you through deploying.

## Showcase

Moved your writing across with medmark?
[Add your site to the showcase](https://brionmario.github.io/medmark/docs/showcase). It's a one-line change to a JSON
file. There's a [badge](https://brionmario.github.io/medmark/docs/showcase#badge) too.

## Contributing

Bug reports, code and documentation improvements are all welcome. See the [contributing guidelines](./CONTRIBUTING.md).

## License

MIT © [Brion Mario](https://github.com/brionmario). See [LICENSE](./LICENSE).

---
_Source: https://npm.io/package/medmark · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
