Skip to content

Repository files navigation

ConvertBench

"Convert files instantly. In your browser. Nothing uploaded."

ConvertBench is a 100% private, free, and ad-supported client-side file conversion suite. All image processing, PDF manipulation, and data transformation happens directly inside your web browser using the HTML5 Canvas API, pdf-lib, pdfjs-dist, and pure JavaScript.


⚡ Key Highlights

  • 100% Client-Side Privacy: Your files, photos, and documents never leave your device. Zero server uploads, zero remote storage, zero data leakage risk.
  • Zero Server Compute Costs ($0): Free static hosting on Vercel's Hobby tier. No compute bill spikes even with millions of conversions.
  • Cross-Tool Workflow Chaining: Carry converted files forward between tools (e.g. PNG to JPG → Compress Image → Add into PDF) seamlessly in browser memory without re-selecting files.
  • Strict AdSense Compliance: Maximum 2 non-intrusive bordered ad units per tool page; clean action zones to guarantee high-trust user experience and zero accidental clicks.
  • High-Performance Architecture: Instant processing leveraging your device hardware without server request timeout limits.

🛠️ Tool Catalog (19 Launch Tools)

Image Tools (Canvas API & Web Workers)

  • PNG to JPG: Convert transparent or solid PNG images to standard JPEG format.
  • JPG to PNG: Transform JPEG photos into lossless PNG format.
  • WebP to PNG: Convert modern WebP graphics to universal PNG with alpha channel intact.
  • PNG to WebP: Compress PNG files into next-gen lightweight WebP format.
  • Image Compressor: Quality slider, dimension constraints, before/after byte transparency.
  • Image Resizer: Resize width/height in pixels or presets (25%, 50%, 75%) with aspect ratio lock.
  • SVG to PNG: Rasterize vector SVG files into crisp PNGs at 1x, 2x (Retina), or 4x scale.
  • Image to Base64: Generate Data URLs, raw Base64 strings, and CSS background snippets.
  • Base64 to Image: Decode Base64 payloads and Data URLs into downloadable PNG/JPG files.

PDF Tools (pdf-lib + pdfjs-dist)

  • Images to PDF: Merge multiple JPG, PNG, and WebP images into a single PDF document.
  • PDF to Images: Render each page of a PDF file into high-quality JPGs (single download or bundled ZIP).
  • Merge PDF: Combine multiple PDF files into one ordered document.
  • Split PDF: Extract specific page ranges (e.g. 1-3, 5) into a new PDF.
  • Remove Pages from PDF: Visual page selection to eliminate duplicate or blank pages.
  • Compress PDF: Streamline PDF dictionary streams and objects for smaller email attachments.

Data & Text Tools (Pure JavaScript)

  • CSV to JSON: Parse CSV spreadsheets into structured JSON arrays with header detection.
  • JSON to CSV: Transform JSON arrays and objects into standard spreadsheet CSVs.
  • Markdown to HTML: Live side-by-side Markdown editor and rendered HTML preview.
  • JSON Formatter & Validator: Beautify (2/4 spaces), minify, and validate JSON syntax with error lines.

🚀 Getting Started

Prerequisites

  • Node.js 18+ or 20+
  • npm

Installation

git clone <repo-url>
cd ConvertBench
npm install

Run Locally

npm run dev

Open http://localhost:3000 to view the application in your browser.

Build for Production

npm run build

☁️ Deploying to Vercel

ConvertBench is pre-configured for instant zero-config deployment on Vercel:

  1. Push your repository to GitHub / GitLab / Bitbucket.
  2. Go to Vercel Dashboard and click "Add New Project".
  3. Select your ConvertBench repository.
  4. Framework preset: Next.js.
  5. Click "Deploy".

Your site will automatically build and deploy across Vercel's global edge network with $0 server hosting costs.


🔒 Privacy & Architecture

ConvertBench is intentionally designed with zero server endpoints:

  • No database
  • No cloud file storage
  • No serverless conversion endpoints

All conversion algorithms execute in browser memory (RAM) and are completely purged when the tab is closed.


📄 License & Attribution

Built and maintained by Tirthankar Dasgupta at Dgen Technologies. All rights reserved.

Releases

Packages

Contributors

Languages