Skip to content

JaySoni1/PII-Redactor-Tool

Repository files navigation

PII Redactor Tool

A minimal web tool to detect and redact Personally Identifiable Information (PII) such as email addresses, phone numbers , names, and addresses from PDF and TXT files.

Features

  • Accepts PDF or TXT input
  • Detects and redacts PII using Regex and Gemini LLM
  • Displays both original and redacted text
  • Shows a table of removed items with type, value, and reason
  • Export redacted output as PDF

Implementation Overview

The tool is built using React and designed to be simple and privacy-focused. It works in two ways: using regex for PII detection and also supports Gemini LLM for smarter results.

  • Built with a clean React UI

  • Detects emails, phone numbers, names, and addresses using regex

  • Shows original and redacted text side-by-side

  • Supports Gemini LLM for advanced detection

  • Allows downloading redacted files as PDF

  • OCR for scanned PDFs/images (coming soon)

  • DOC/DOCX file support (coming soon)

image

Screenshots

1. Upload Your File

image

2. Redacted Results and PII Summary

image

3. Exported PDF Output

image

License

This project is licensed under the MIT License.

About

A tool to hide personal details from text and PDF files using AI and regex patterns.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages