inmydraft
Convert PNG to PDF

Convert PNG to PDF

Privacy-first client-side image converter with batch ZIP export.

Tool DraftAvailableUtility ToolRp 17.000BeginnerUpdated 2026-07-09Next.js 16 (App Router), React 19, TypeScript, Tailwind CSS 4, pdf-lib, JSZip
عرض تجريبي

الوصف

Single-page, 100% client-side file converter. Four image tools work today — JPG to PNG, PNG to JPG, image to PDF, and image compression — with three document tools (PDF/Word/Markdown) scaffolded in the UI but disabled since they'd need a server. Files never leave the browser; conversions run entirely in Canvas, pdf-lib, and JSZip.

ما يعمل بالفعل

  • JPG to PNG and PNG to JPG conversion
  • JPG/PNG to PDF conversion
  • Image compression (JPG/PNG/WebP)
  • Drag-and-drop or click-to-browse upload with per-file validation
  • Batch queue (up to 20 files, 25 MB each)
  • Per-file status tracking with clear error messages
  • ZIP export of all converted outputs

ما هو مُدرج

  • Full source code
  • README and setup guide
  • License
  • AI-ready docs (PRD, technical spec, deployment notes)
  • Vitest unit tests and Playwright end-to-end tests

طريقة التشغيل

  1. Unzip the source and run npm install.
  2. Copy .env.example to .env.local if you want to set a custom app URL (optional).
  3. Run npm run dev and open http://localhost:3000 — no database or auth setup needed.
  4. Build for production with npm run build and deploy to Vercel or another Node.js host.

ملاحظات المتابعة

  • 100% client-side — no secrets, no database, no server state. Runs on Vercel out of the box.

القيود المعروفة

  • PDF-to-Word, Word-to-PDF, and PDF-to-Markdown are shown in the UI but disabled — they need a server-side engine that isn't included
  • Files over 25 MB are rejected, and batches are capped at 20 files
  • No HEIC, TIFF, or SVG input support
  • No per-file percentage progress — just ready / converting / done / failed status
  • Still needs human or developer review before shipping
Convert PNG to PDF - inmydraft