← Back to projects
Markdowner logo
PDF & EPUB · Developer Tool

Markdowner

Browser-based PDF and EPUB conversion to AI-friendly Markdown, with local document processing.

JavaScript PDF.js JSZip Turndown

Overview

Markdowner is a lightweight, browser-based tool that converts PDF and EPUB documents into clean, AI-friendly Markdown (.md) files. Designed to simplify document preparation for large language models (LLMs), retrieval-augmented generation (RAG), and other AI workflows, it supports large documents without requiring software installation, user accounts, or API keys. Users can upload or drag and drop a document, monitor conversion progress, and automatically download the resulting Markdown file. All document processing takes place locally in the browser, keeping files private without uploading them to an external server.

Markdowner web application showing the PDF and EPUB drag-and-drop converter interface
Markdowner web interface

Technical details

Built with JavaScript, HTML, and CSS, Markdowner uses PDF.js to extract text from PDFs, JSZip to read EPUB archives, and Turndown to convert EPUB HTML content into structured Markdown. PDF processing reconstructs text lines and separates pages, while EPUB conversion follows the book's reading order and preserves elements such as headings and lists. The application includes asynchronous processing, conversion progress indicators, automatic file downloads, and responsive light/dark themes. Current limitations include the absence of OCR for scanned PDFs, unsupported DRM-protected EPUBs, and potential formatting loss in complex layouts or tables. Conversion libraries are loaded from public CDNs, requiring an internet connection.

Video demonstration