Convert Medium articles to clean, editable Markdown format instantly. mdify is the best free Medium to MD converter - a fast, user-friendly web application built with Next.js for developers and writers.
🔗 Live Demo: mdify.vedant.works
mdify is a powerful web application that instantly transforms Medium articles into properly formatted Markdown files. It's the #1 free Medium to Markdown converter for developers, writers, and content creators who need portable, standardized content that works seamlessly with GitHub, GitLab, Hugo, Jekyll, documentation sites, and any Markdown processor.
Why mdify?
- 🚀 Lightning fast Medium to MD conversion (2-5 seconds)
- ✨ Clean, properly formatted Markdown output
- 💯 100% free with unlimited conversions
- 🔒 Privacy-focused - no data storage
- 📝 Live preview editor with real-time rendering
- 💾 Download as .md files or copy to clipboard
Popular searches: medium to markdown, medium to md, convert medium article, mdify, medium markdown converter, export medium to markdown
- ⚡ Instant Medium to Markdown Conversion: Convert any Medium article to MD format in 2-5 seconds
- 👁️ Live Preview Editor: Real-time split-screen editor with Markdown rendering
- 🎨 Format Preservation: Perfectly maintains headings, bold, italics, links, lists, code blocks, and images
- 💻 Syntax Highlighting: Code blocks properly formatted with language-specific highlighting
- 📱 Responsive Design: Works seamlessly on desktop, tablet, and mobile devices
- 💾 Multiple Export Options: Download as .md file or copy to clipboard instantly
- 🆓 100% Free: No registration, no limits, no hidden fees - unlimited conversions
- 🔒 Privacy First: No data storage, no tracking, all processing in real-time
- ✨ Clean Output: Removes Medium UI clutter and generates pure, standards-compliant Markdown
- 👨💻 Developers: Export tutorials to GitHub, create documentation, backup technical posts
- ✍️ Writers: Backup Medium stories, cross-post content, migrate to personal blogs
- 📚 Content Creators: Repurpose content, build Markdown libraries, archive articles
- 🏢 Teams: Standardize content format, create knowledge bases, maintain backups
Try mdify now: mdify.vedant.works
No sign-up required. Just paste a Medium URL and convert!
- Framework: Next.js 16 (App Router)
- Language: TypeScript
- Styling: Tailwind CSS
- UI Components: Radix UI primitives
- Markdown Processing:
- Turndown for HTML to Markdown conversion
- React Markdown for rendering
- remark-gfm for GitHub Flavored Markdown
- rehype-highlight for syntax highlighting
- HTML Parsing: Cheerio
- State Management: Zustand
- Animations: GSAP, Framer Motion
- Node.js 20.x or later
- npm, yarn, pnpm, or bun
- Clone the repository:
git clone https://github.com/yourusername/mdify.git
cd mdify- Install dependencies:
npm install
# or
yarn install
# or
pnpm install
# or
bun install- Run the development server:
npm run dev
# or
yarn dev
# or
pnpm dev
# or
bun dev- Open http://localhost:3000 in your browser.
npm run build
npm run startmdify/
├── src/
│ ├── app/ # Next.js App Router pages
│ │ ├── api/
│ │ │ └── convert/ # API route for Medium conversion
│ │ ├── editor/ # Editor page with live preview
│ │ └── page.tsx # Landing page
│ ├── components/ # React components
│ │ └── ui/ # UI components (buttons, dialogs, etc.)
│ ├── lib/
│ │ └── medium/ # Core Medium conversion logic
│ │ ├── convert.ts # Main conversion orchestrator
│ │ ├── fetcher.ts # Article HTML fetcher
│ │ ├── extractors.ts # Metadata extraction
│ │ ├── cleaners.ts # HTML/Markdown cleaning
│ │ ├── turndown.ts # Turndown configuration
│ │ └── types.ts # TypeScript types
│ ├── store/ # Zustand state management
│ └── hooks/ # Custom React hooks
├── public/ # Static assets
└── package.json
mdify uses advanced parsing algorithms to convert Medium articles to Markdown:
- URL Validation: Validates that the provided URL is a valid Medium article
- HTML Fetching: Retrieves the article HTML content using axios
- Parsing: Uses Cheerio to parse and navigate the HTML DOM structure
- Metadata Extraction: Extracts title, author information, publication date, and metadata
- Cleaning: Intelligently removes Medium-specific UI elements, ads, and clutter
- Markdown Conversion: Converts cleaned HTML to Markdown using optimized Turndown configuration
- Post-processing: Filters unwanted elements and cleans up the Markdown output
- Live Preview: Displays result in split-screen editor with real-time preview and editing
Technical Details:
- GitHub Flavored Markdown (GFM) output
- Preserves code block syntax highlighting
- Handles embedded content intelligently
- Maintains image URLs and alt text
- Proper list and table formatting
GET /api/convert?url={medium_url}
Converts a Medium article to Markdown format.
Query Parameters:
url(required): The Medium article URL to convert
Response:
{
"error": false,
"markdown": "# Article Title\n\n...",
"title": "Article Title"
}Error Response:
{
"error": true,
"markdown": "Error message here"
}Status Codes:
200: Success400: Invalid request (no URL provided)429: Rate limit exceeded500: Server error
The Turndown service is configured in src/lib/medium/turndown.ts with custom rules for:
- Code blocks
- Image handling
- Link formatting
- List processing
The conversion process includes:
- Removal of Medium UI elements (clap buttons, share buttons, etc.)
- Filtering of empty paragraphs and divs
- Proper handling of embedded content
- Author attribution preservation
npm run dev- Start development servernpm run build- Build for productionnpm run start- Start production servernpm run lint- Run ESLint
No environment variables are required for basic operation.
Contributions are welcome! Please feel free to submit a Pull Request.
- Fork the repository
- Create your feature branch (
git checkout -b feature/amazing-feature) - Commit your changes (
git commit -m 'Add some amazing feature') - Push to the branch (
git push origin feature/amazing-feature) - Open a Pull Request
mdify - medium to markdown, medium to md, convert medium article, medium markdown converter, medium to markdown converter, export medium to markdown, medium article to md, free markdown converter, medium downloader, medium backup tool, medium migration, convert medium post, medium exporter, markdown converter online, medium content converter
This project is licensed under the MIT License - see the LICENSE file for details.
If mdify has helped you convert Medium articles to Markdown, consider supporting the project:
Your support helps keep mdify free and continuously improved!
- Built with Next.js
- UI components from Radix UI
- Markdown conversion powered by Turndown
- Inspired by the need for portable content formats
Created with ❤️ by Vedant Lavale
- GitHub: @vedantlavale
- Twitter: @vedantlavale
- Website: vedant.works
- 📖 How to Convert Medium to Markdown - Complete guide
- ⚡ mdify Features - Full feature list
- 🔧 API Documentation - For developers
Note: This tool is not affiliated with or endorsed by Medium. mdify is designed for personal use to help users convert publicly available Medium articles to Markdown format for backup, migration, and content management purposes.
Disclaimer: Please respect Medium's Terms of Service and copyright laws. Only convert content you have rights to use.