Effortlessly convert your Medium stories to Markdown.
medium-export is a lightweight yet powerful tool that allows you to convert your Medium stories into Markdown format with ease. Whether you're backing up your content, migrating to another platform, or simply prefer Markdown, medium-export streamlines the process.
Please consider following this project's author, Sina Bayandorian, and consider starring the project to show your ❤️ and support.
Install with npm:
$ npm install -g medium-export
To see available options, run:
medium-export --help
or using npx
:
npx medium-export --help
Option | Default | Description |
---|---|---|
-s, --story | --- | Medium story URL |
-o, --output | --- | Output directory |
--no-author | false | Remove author info |
--no-image | false | Remove images |
If you don't provide
--story
or--output
, you'll be prompted to enter them.
If you'd like to append a Medium story’s content to an existing Markdown file, use:
medium-export append
Option | Default | Description |
---|---|---|
-s, --story | --- | Medium story URL |
-o, --output | --- | Output file |
--no-author | false | Remove author info |
--no-image | false | Remove images |
If you don't provide
--story
or--output
, you'll be prompted to enter them.
Now that you know the basics, try it out! Convert your Medium stories to Markdown effortlessly and keep your content in a portable format.