Skip to content
Black HartConsulting

← All projects

Case study · Privacy / Security Tools · webapp

Scrubbr — In-Browser Metadata Scrubber & True Redactor

A 100%-in-browser tool that strips hidden metadata from PDFs and images and performs true redaction — destroying the text and pixels under your boxes, not just covering them — then re-parses the output to prove removal. No upload endpoint exists; files never leave the device. Built and launched in a single session: live, taking real payments, and scoring a perfect 100 across Lighthouse.

Scrubbr — homepage hero
0
files uploaded — 100% in your browser
4×100
Lighthouse: perf, a11y, SEO, best-practices
8
prerendered SEO routes
0.3s
desktop load (LCP)

The challenge

The “private PDF tool” space is crowded, but the two operations people actually need to do safely — strip a file’s hidden metadata, and redact it so the underlying text is truly gone — were missing client-side. Every online option uploads your file to a server, asking you to trust a deletion policy you can’t verify.

And most “redaction” is a black rectangle drawn on top: the original text sits underneath, fully selectable and extractable — a well-documented way sensitive documents leak. We wanted a tool that removes the data for real, never uploads the file, and can prove both.

What we shipped

Everything in the browser — no upload endpoint exists

Metadata reading, scrubbing, redaction and verification all run locally in JavaScript and WebAssembly. There is no server that receives files. Even pdf.js’s worker, fonts and CMaps are bundled as local assets, so the heavy PDF path makes no third-party request either — the only network calls the app can make are licensing, which carry a key and never a file. You can confirm it in the network tab.

True redaction by flattening, not covering

For each marked PDF page we render it to a high-resolution raster, paint the redaction boxes onto the image, and rebuild the page from that flattened raster — so the underlying text and vector objects no longer exist in the file. Images are burned in at the pixel level. Pages you don’t mark are copied through untouched, so their text stays selectable.

Verification that re-parses the real bytes

The differentiator is the verify step. After scrubbing, we re-open the output and confirm each removed field is gone; after redaction, we re-extract the text that sat under the boxes and prove none of it survived, and that flattened pages yield zero extractable text. It checks the output, not the intention.

Lossless image stripping

For JPEG and PNG we rewrite the container — dropping the EXIF, GPS, IPTC and XMP segments and chunks — without recompressing, so the image is byte-for-byte preserved and GPS can be removed on its own while keeping the rest of EXIF.

Built to be found, and to pay for itself

Eight high-intent routes are prerendered to static HTML — with SoftwareApplication, HowTo and FAQ JSON-LD — via a custom prerender step, no SSG framework, so the tool ranks and AI assistants can cite it. A $5 one-time Pro tier (batch + PDF/A) runs on Stripe Checkout through three small Vercel serverless functions with a stateless HMAC license, and Resend emails the key on purchase.

React 19 + Vite 8TypeScriptpdf-lib + pdf.jsexifr + piexifjs (EXIF)Stripe Checkout + serverlessResend (license email)Vercel

The result

Built and launched in a single working session: live at scrubbr.pro, taking real payments, and scoring a perfect 100/100/100/100 on Lighthouse.

  • Metadata scrub for PDFs (info dictionary, XMP, thumbnails) and images (EXIF, GPS, IPTC, XMP) — lossless for JPEG/PNG — with every field shown before removal.
  • True redaction for PDFs and images that destroys the content under each box, verified by re-extracting text from the output.
  • A verification step that re-parses the real output bytes to prove metadata is gone and redacted text is unrecoverable.
  • Eight prerendered SEO routes with JSON-LD, a 0.3s desktop load, and zero file-bearing network requests — confirmed in the network tab.
  • A $5 Pro tier (batch + PDF/A) on Stripe Checkout with serverless licensing and emailed keys via Resend.

The whole premise is verifiable, not asserted: open your network tab and watch nothing leave your device.

Scrubbr — metadata inspection panel
Drop in a file and every hidden field surfaces — author, software, GPS, timestamps — flagged and individually removable. Here, a confidential PDF’s eight metadata blocks, ready to strip.
Scrubbr — true PDF redaction canvas
True redaction: drag a box over anything sensitive and the page is flattened so the text underneath is destroyed, not covered. No selectable text survives.
Scrubbr — removal verification report
The trust differentiator — Scrubbr re-parses the output bytes and confirms each field is actually gone. It verifies the result, not the intent.
Scrubbr — Pro unlock
Free for single-file scrub, redact and verify; a $5 one-time Pro unlock adds batch processing and PDF/A export, billed through Stripe.
Client
Black Hart Consulting (first-party product)
Year
2026
Duration
one session (10 commits, build to launch)
Team size
1
Visit live site

Your site could be the next one.

Discounted pricing — 30% off your first build for the next 5 paid clients in exchange for a published case study.