DEV Community

Vipul Singh
Vipul Singh

Posted on

I Built a Browser-Based Document-to-PDF Converter That Handles DOCX, E-books, and Images

 ## Why I built this

Most "convert to PDF" tools handle one format and upload your file to a server to do it. I wanted something closer to a real document studio — broad format support, real layout control, and processing that happens on your own device wherever possible.

What it does

  • Documents: DOCX, TXT, Markdown, HTML, RTF, ODT, CSV, JSON, XML
  • E-books: EPUB, MOBI, AZW3, FB2 — parsed locally
  • Images: PNG, JPG, WEBP, SVG, BMP, TIFF
  • Paste raw Markdown, HTML, or text directly — no file required
  • Page size (A4, Letter, Legal, A3, A5), orientation, margins (small/normal/large/custom), font selection, compression, hyperlink and image preservation, print/web optimization, page numbering
  • Live preview panel that renders formatted content and image thumbnails, updating instantly as settings change

Client-side by default

Your files stay on your device whenever client-side conversion is supported — nothing is uploaded during browser-based conversions, and it works offline once loaded.

Details

Individual documents up to 100MB, image batches up to 50. Free, no account required.

Try it: https://www.forgeplug.com/tools/document-to-pdf

Would love feedback — especially on any format or edge case that trips it up.

Top comments (0)