Projects / TabTools

TabTools

Live at tabtools.app

Useful tools that run entirely in your browser.

A static site of image, video, privacy and developer tools where nothing is uploaded: no login, no tracking, and a strict Content-Security-Policy that makes the browser itself block any request to another server.

Why I built it

Most "free online tools" upload your photo, ID card or spreadsheet to someone else's server. For an Aadhaar card or a signature that is a real risk, and "we delete it after an hour" is a promise you can't check.

Search research showed the biggest demand was in India for "compress image to X KB" and exam form photos for UPSC, NEET and IBPS. TabTools covers those, plus privacy and developer utilities, with every file processed on your own device.

What it does

Images

Compress to an exact KB size, resize, convert HEIC/WebP/AVIF, passport and exam photos with a compliance checklist, AI background removal, and OCR.

Privacy

Mask an Aadhaar card using OCR, checksum and QR detection, blur and redact images, strip photo metadata, redact text before pasting into AI, and encrypt files with AES-256-GCM.

Video & audio

Compress video to a target size, extract MP3/M4A/WAV, make GIFs and trim clips, all in the browser.

Data & developer

Query CSV and Excel with SQL (SQLite in WASM), JSON tools, CSV ↔ VCF contacts, QR codes for UPI and Wi-Fi, a log analyser, JWT, hashes, regex and cron.

Works offline

A same-origin service worker caches the app, so tools keep working after the first visit with no connection.

Browser extension

A Manifest V3 Chrome extension built from the same code redacts text in any text box, restores the AI's reply, and inspects photo metadata.

How it works

  1. Every page is static HTML from Astro. Each tool is a small Preact island that loads only the code it needs.
  2. Heavy work runs in Web Workers and WebAssembly: libheif for HEIC, SQLite for spreadsheets, local ONNX models for background removal, and Tesseract data for OCR.
  3. All libraries, models and fonts are bundled and served from the same origin. Nothing comes from a CDN.
  4. A strict CSP (default-src 'self', connect-src 'self', no unsafe-eval) means the browser refuses any cross-origin request, so the privacy promise is enforced rather than just stated.

Engineering decisions

Privacy enforced by the browser

Libraries that need JavaScript eval were rejected or swapped. heic2any was replaced with libheif's CSP-safe build, and assets are never inlined as data: URLs, so nothing can bypass the policy.

Tests that guard the promise

The Playwright suite runs on Chromium and WebKit, including phone and touch, and fails if any page makes a cross-origin request or logs a CSP violation.

Framework-free core

All logic lives in plain TypeScript under src/lib, so the website, the browser extension and a future desktop app share one engine.

Try it

Run it locally

git clone https://github.com/avinash-gupta-rdz/tabtools && cd tabtools
npm install
npm run dev          # http://localhost:4321

Test it

npm test             # unit tests for image, crypto and parser code
npm run e2e          # browser checks, fails on any cross-origin request

Built with

Other projects