Skip to content

๐Ÿ›ก๏ธ AI DeWatermarker โ€” Real-time AI watermark & text obfuscation detector and cleaner. Detects hidden Unicode, invisible characters, and homoglyph attacks โ€” all processed locally in your browser for full privacy.

License

Notifications You must be signed in to change notification settings

Free-AI-Things/AI-DeWatermarker

Repository files navigation

๐Ÿ›ก๏ธ AI DeWatermarker

Real-time detection and removal of AI watermarks, invisible Unicode, and text obfuscation

License: GPL v3 React TypeScript Vite

Features โ€ข How It Works โ€ข Installation โ€ข Usage โ€ข Tech Stack โ€ข Contributing


๐Ÿ“‹ Overview

AI DeWatermarker is a free, open-source tool that detects and removes hidden AI watermarks and text obfuscation from text content. All processing happens locally in your browser - ensuring complete privacy and security. Just visit to use: https://ai-de-watermarker.vercel.app/.
chrome_tKFFaSJzir chrome_gybc802wRX

โœจ Features

๐Ÿ” Comprehensive Detection

  • Zero-Width Characters: Detects invisible tracking characters like Zero Width Space (U+200B), Zero Width Non-Joiner, and more
  • Invisible Characters: Finds hidden Unicode like soft hyphens, combining grapheme joiners, and variation selectors
  • Homoglyphs: Identifies look-alike characters from different scripts (Cyrillic, Greek, Latin)
  • Bidirectional Marks: Detects direction control characters used for text obfuscation
  • Suspicious Punctuation: Identifies non-standard quotes, dashes, and ellipsis
  • Special Spaces: Finds non-breaking spaces, em spaces, and other unusual whitespace
  • Mixed Scripts: Detects mixing of different writing systems
  • Control Characters: Identifies C0/C1 control codes and tag characters

๐ŸŽฏ Advanced Analysis

  • Noise Score: Calculates the percentage of suspicious characters in your text
  • Real-time Highlighting: Visual indicators show exactly where issues are detected
  • Line Density Analysis: Identifies heavily obfuscated sections
  • Pattern Detection: Finds repeating invisible character sequences and unmatched bidi pairs
  • Encoded Data Detection: Identifies potential Base64 or hex-encoded watermarks

๐Ÿงน Intelligent Cleaning

  • Unicode Normalization: Converts text to NFC (Normal Form Composed)
  • Homoglyph Replacement: Replaces look-alike characters with standard equivalents
  • Whitespace Normalization: Collapses multiple spaces and standardizes line endings
  • Control Character Removal: Strips out harmful control codes
  • Punctuation Standardization: Converts fancy quotes and dashes to ASCII equivalents

๐Ÿ”’ Privacy-First

  • 100% Client-Side: All processing happens in your browser
  • No Data Collection: Your text never leaves your device
  • No Server Calls: Works completely offline after initial load
  • Open Source: Fully transparent and auditable code

๐Ÿš€ How It Works

  1. Paste or type your suspicious text into the input area
  2. Real-time analysis detects all types of watermarks and obfuscation
  3. Visual highlights show exactly where issues are found
  4. Detailed report breaks down each type of detection
  5. Clean output provides sanitized text ready to copy

๐Ÿ’ป Installation

Prerequisites

  • Node.js 18+ and npm/yarn/pnpm

Steps

# Clone the repository
git clone https://github.com/maruf009sultan/AI-DeWatermarker.git

# Navigate to the project directory
cd AI-DeWatermarker

# Install dependencies
npm install

# Start the development server
npm run dev

# Build for production
npm run build

๐ŸŽฎ Usage

Basic Usage

  1. Open the application in your browser
  2. Paste text into the "Suspicious Text" area
  3. View the real-time detection report on the right
  4. Copy the cleaned text from the "Cleaned Output" section

Understanding the Detection Report

  • Noise Score: Higher percentages indicate more obfuscation

    • 0-5%: Clean or minimal obfuscation
    • 5-10%: Moderate watermark presence
    • 10%+: High suspicion of AI watermarking
  • Color Coding:

    • ๐Ÿ”ด Red: Invisible characters and bidi marks
    • ๐ŸŸก Amber: Homoglyphs
    • ๐Ÿ”ต Blue: Suspicious punctuation
    • ๐ŸŸฃ Purple: Special spaces

๐Ÿ› ๏ธ Tech Stack

  • Frontend Framework: React 18.3.1 with TypeScript
  • Build Tool: Vite 5.4.19
  • UI Components: shadcn/ui (Radix UI primitives)
  • Styling: Tailwind CSS with custom animations
  • State Management: React Query (TanStack Query)
  • Routing: React Router DOM
  • Form Handling: React Hook Form with Zod validation
  • Icons: Lucide React
  • Notifications: Sonner

๐Ÿ“ Project Structure

AI-DeWatermarker/
โ”œโ”€โ”€ src/
โ”‚   โ”œโ”€โ”€ components/      # Reusable UI components
โ”‚   โ”œโ”€โ”€ pages/          # Page components
โ”‚   โ”œโ”€โ”€ utils/          # Detection and cleaning utilities
โ”‚   โ”œโ”€โ”€ lib/            # Library configurations
โ”‚   โ””โ”€โ”€ hooks/          # Custom React hooks
โ”œโ”€โ”€ public/             # Static assets
โ””โ”€โ”€ index.html          # Entry HTML file

๐Ÿงช Detection Examples

Zero-Width Characters

Invisible tracking characters embedded between words or letters to create unique fingerprints.

Homoglyphs

Using Cyrillic 'ะฐ' (U+0430) instead of Latin 'a' (U+0061) to create visually identical but technically different text.

Bidirectional Marks

RTL/LTR override characters that can hide or obfuscate text content.

๐Ÿค Contributing

Contributions are welcome! Here's how you can help:

  1. Fork the repository
  2. Create a feature branch (git checkout -b feature/AmazingFeature)
  3. Commit your changes (git commit -m 'Add some AmazingFeature')
  4. Push to the branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

Development Guidelines

  • Follow the existing code style
  • Write clear commit messages
  • Add tests for new features
  • Update documentation as needed

๐Ÿ“œ License

This project is licensed under the GNU General Public License v3.0 - see the LICENSE file for details.

๐ŸŒŸ Why AI DeWatermarker?

  • Educational: Learn about Unicode obfuscation techniques
  • Practical: Clean text from AI-generated content
  • Transparent: Open-source and community-driven
  • Fast: Real-time processing with no server delays
  • Comprehensive: Detects 14+ types of obfuscation patterns

๐Ÿ”— Links

๐Ÿ’– Acknowledgments

Made with โค๏ธ for the open-source community. Special thanks to all contributors and users who make this project better.


โฌ† Back to Top

If you find this project useful, please consider giving it a โญ on GitHub!


About

๐Ÿ›ก๏ธ AI DeWatermarker โ€” Real-time AI watermark & text obfuscation detector and cleaner. Detects hidden Unicode, invisible characters, and homoglyph attacks โ€” all processed locally in your browser for full privacy.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages