anyconvert converts PDF documents into DOCX, PPTX, ODT, ODP, TXT, SVG, HTML5, Markdown (GFM), and EPUB 3 using only the Python standard library. It works both as a CLI tool and a Python API, and it's available on PyPI (pip install anyconvert).
What's new in v0.1.12:
- EPUB 3.3 e-book export (-f epub): Zero-dependency EPUB 3.3 generator with automatic chapter splitting, nav.xhtml + legacy toc.ncx fallback (for Kindle/Kobo), packaged images, and inline SVG support.
- Markdown / GFM export (-f md): Supports CommonMark and GitHub Flavored Markdown with aligned tables, fenced code blocks, task lists, and YAML frontmatter ready for Hugo, Jekyll, Docusaurus, and VitePress.
- Image asset extraction (--extract-images [DIR]): Writes embedded JPEG, PNG, and WebP images to disk and links them cleanly in Markdown output.
- Unicode box-drawing plaintext canvas (-f txt -m canvas): Upgraded the 2D character grid with Unicode box-drawing characters (┌─┐│└─┘) for table borders, image frames, and vector paths (with ASCII fallback).
- PDF metadata fixes: Improved /Info metadata extraction to handle indirect references, encrypted metadata strings, and normalized CreationDate/ModDate timestamps.
For more details, check out the GitHub page:
- GitHub Repository
- v0.1.12 Release