Skip to main content

๐Ÿ›ก๏ธ AntiWatermark

The Universal AI Watermark Remover, SynthID Neutralizer & Text Humanizer

Strips invisible Unicode steganography, shatters statistical token fingerprints, and simulates Turnitin/GPTZero locally.
Works seamlessly with Claude (Anthropic), Google Gemini (SynthID-Text), and ChatGPT (OpenAI).


License: MIT Python Version Models Supported Platform Chrome Extension


๐Ÿš€ Quickstart โ€ข ๐ŸŒ Web App โ€ข ๐Ÿงฉ Chrome Extension โ€ข โš™๏ธ AI Settings Snippet โ€ข ๐Ÿ“‹ Clipboard Daemon โ€ข ๐Ÿ“Š CLI Scorecard โ€ข ๐Ÿ“– Clichรฉ Cheat Sheet


๐Ÿ’ก Why AntiWatermark?

Modern LLMs embed detection markers across three layers. Standard rewriters often fail because they only swap wordsโ€”frequently corrupting code syntax, mathematical formulas, and formatting.

flowchart LR
    A["Raw AI Output (Claude / Gemini / GPT)"] --> B["1. Invisible Steganography<br/>(Zero-width spaces \u200b, BOM, Soft Hyphens)"]
    B --> C["2. Statistical Token Logits<br/>(Google SynthID, Kirchenbauer Green-List)"]
    C --> D["3. Stylistic AI Clichรฉs<br/>(delve, tapestry, uniform sentence lengths)"]
    D --> E["โœจ Clean, 100% Humanized Text<br/>(Preserves code, math & accuracy)"]
Watermark Vector How LLMs Embed It How AntiWatermark Eliminates It
Invisible Steganography Zero-width characters (\u200B, \u200C, \uFEFF) and soft hyphens inserted in clipboard streams. Deterministic Unicode regex stripping and NFKC normalization.
Statistical Logit Watermarks Algorithmic token biasing (Google SynthID-Text) that forces predictable $n$-gram transitions. Clause inversion, active/passive voice switching, and sentence structure rearrangement.
AI Stylistic Tropes Tell-tale buzzwords (delve, rich tapestry, testament, multifaceted, beacon, foster) and uniform cadence. Replaces 50+ clichรฉs, eliminates rigid 3-bullet lists, and forces sentence length burstiness ($\sigma > 8.0$).
Code & Math Protection Generic rewriters break Python indentation and LaTeX formulas. Immunity Shield locks fenced code (```) and math ($$...$$) before processing.

โšก Quickstart: Choose Your Workflow

AntiWatermark can be used in 6 different ways depending on your setup:

โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
โ”‚ 1. ๐ŸŒ Interactive Web UI       โž”  python3 app.py (open http://localhost:8000)          โ”‚
โ”‚ 2. ๐Ÿงฉ Chrome Extension         โž”  Load extension/ folder into Chrome (Auto-clean copy) โ”‚
โ”‚ 3. โš™๏ธ AI Settings Snippet      โž”  Paste 4-line rule into Claude, Gemini, or ChatGPT    โ”‚
โ”‚ 4. ๐Ÿ“‹ Clipboard Daemon         โž”  python3 scripts/clipboard_daemon.py (auto Cmd+C)     โ”‚
โ”‚ 5. ๐Ÿ“Š Terminal CLI Scorecard   โž”  python3 scripts/sanitize.py "text"                   โ”‚
โ”‚ 6. ๐Ÿ”Œ Python API Middleware    โž”  from antiwatermark import CleanLLM                   โ”‚
โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜

1. ๐ŸŒ Interactive Web App (app.py)

The fastest visual way to test, inspect, and clean text in real-time.

python3 app.py

Open http://localhost:8000 in your browser.

  • Live Human Confidence % and SynthID Risk Meter.
  • Code & LaTeX Immunity Indicator.
  • 1-Click Copy and domain preset toggles.

2. ๐Ÿงฉ Chrome Extension (Auto-Clean on Copy)

Strips hidden zero-width watermarks automatically whenever you copy text from claude.ai, gemini.google.com, or chatgpt.com.

  1. Open Google Chrome and go to chrome://extensions.
  2. Toggle on Developer mode (top-right corner).
  3. Click Load unpacked and select the extension/ folder.
  4. Done! Whenever you press Cmd+C on AI websites, invisible watermarks are stripped before reaching your clipboard.

3. โš™๏ธ Permanent Zero-Watermark Mode in AI Settings

Configure your AI assistants to write without watermarks by default:

[STYLE DIRECTIVE]
Write in a direct, natural human voice. Never use AI filler words (delve, tapestry, testament, multifaceted, foster, beacon, nuanced, underscores, paramount, crucial role, game-changer, revolutionizes, seamlessly, harness the power, supercharge, let's unpack, in conclusion) or opening greetings like "Certainly!".
Vary sentence lengths aggressively: mix punchy 3-5 word sentences with longer 20+ word explanations. Invert dependent clauses to keep sentence rhythms unpredictable. Preserve all technical details, code blocks, and math equations without adding decorative commentary.
  • ๐ŸŸฃ Claude.ai: Paste into Settings โž” Custom Instructions (or upload SKILL.md in Project Knowledge).
  • ๐Ÿ”ต Google Gemini / AI Studio: Paste into System Instructions or create a custom Gem.
  • ๐ŸŸข ChatGPT: Paste into Settings โž” Personalization โž” Custom Instructions.

4. ๐Ÿ“‹ Real-Time Clipboard Daemon

A background terminal listener that sanitizes your clipboard system-wide:

python3 scripts/clipboard_daemon.py
  • Runs quietly on macOS, Linux, and Windows.
  • Cleans text the millisecond you press Cmd+C / Ctrl+C.

5. ๐Ÿ“Š Terminal CLI & Offline Detector Simulator

Run heuristic detector audits (simulating GPTZero, Turnitin, and SynthID) without internet or paid APIs:

# Analyze a text string
python3 scripts/sanitize.py "Certainly! Let's delve into this rich tapestry of data."

# Clean a file in-place
python3 scripts/sanitize.py paper.md --inplace

# Output JSON for CI/CD pipelines
python3 scripts/sanitize.py paper.md --json

Terminal Scorecard Output:

โ•”โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•—
โ•‘           ๐Ÿ“Š AI DETECTOR & WATERMARK SCORECARD               โ•‘
โ• โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•ฃ
โ•‘  Human Confidence Score : 96.0% (AI: 4.0%)
โ•‘  Detection Verdict      : PASSED (Natural Human Cadence)
โ•‘  SynthID Risk Level     : Negligible (Shattered n-grams)
โ•Ÿโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ข
โ•‘  Invisible Characters Removed : 0
โ•‘  Sentence Count & Words       : 4 sentences | 62 words
โ•‘  Burstiness Standard Deviation: 8.74 (High variance)
โ•‘  Symmetrical 3-List Penalty   : None
โ•‘  Detected AI Buzzwords        : None found (Clean)
โ•šโ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•

6. ๐Ÿ”Œ Python Developer SDK (antiwatermark)

Drop-in middleware for developers building applications with Anthropic, Gemini, or OpenAI APIs:

from antiwatermark import CleanLLM, clean_text

# 1. Wrap prompts with anti-watermark protocols
clean_prompt = CleanLLM.wrap_prompt("Analyze distributed database sharding", domain="technical")

# 2. Sanitize raw LLM responses on-the-fly
clean_output, scorecard = CleanLLM.sanitize_output(raw_api_response)
print(f"Human Score: {scorecard['human_confidence_pct']}%")

๐Ÿ” Before & After Comparison

๐Ÿ”ด Raw AI Output (Claude / Gemini / GPT) ๐ŸŸข Cleaned & Humanized (AntiWatermark)
"Certainly! Let's delve into the rich tapestry of asynchronous JavaScript. It is important to note that the event loop plays a crucial role in supercharging server operations. This stands as a testament to modern web scalability." "Node.js handles concurrency through an event loop that coordinates non-blocking I/O calls behind the scenes. Instead of blocking worker threads on heavy file reads, it queues operations and triggers handlers when data arrives."
Flags: delve, tapestry, crucial role, supercharging, testament โ€ข Score: 41% (FLAGGED) Flags: None found โ€ข Score: 96% (PASSED)

๐Ÿ›ก๏ธ Code & LaTeX Immunity Shield

Generic rewriters frequently break programming code and math. AntiWatermark uses an AST-style regex shield that protects:

  • Fenced code blocks (```python ... ```)
  • Inline code snippets (`variable_name`)
  • Display LaTeX equations ($$E = mc^2$$ and \[...\])
  • Inline LaTeX formulas ($x \in \mathbb{R}$ and \(...\))
# Code and LaTeX math are locked before processing and restored exactly as written:
raw = "Let's delve into $$f(x) = \int_0^\infty e^{-x} dx$$ and `npm run build`."
cleaned, _ = clean_text(raw)
# Output: "Let's examine $$f(x) = \int_0^\infty e^{-x} dx$$ and `npm run build`."

๐Ÿ“– Banned AI Buzzwords & Cheat Sheet

AntiWatermark monitors and strips 50+ overused AI clichรฉs across four languages:

Language Banned AI Buzzwords & Markers Natural Human Replacements
๐Ÿ‡ฌ๐Ÿ‡ง English delve, tapestry, testament, multifaceted, beacon, foster, underscores, paramount, crucial role, game-changer, revolutionizes, harness the power, supercharge, let's unpack, in conclusion, Certainly! explore, look at, examine, mix, proof of, complex, leader in, support, shows, key, transforms, use, speed up, begin immediately
๐Ÿ‡ช๐Ÿ‡ธ Spanish es fundamental destacar, un tapiz de, en conclusiรณn, un papel crucial, desempeรฑa un papel, un faro de, fomentar el desarrollo muestra, permite, incluye, es importante, impulsa
๐Ÿ‡ซ๐Ÿ‡ท French il convient de noter, un rรดle primordial, tรฉmoignage de, en conclusion, un รฉventail de, un phare de, il est important de souligner on observe, cela prouve, le rรฉsultat montre, essentiel
๐Ÿ‡ฉ๐Ÿ‡ช German es ist wichtig zu beachten, ein facettenreicher, zusammenfassend lรคsst sich sagen, eine entscheidende rolle, ein meilenstein, tauchen wir ein das zeigt, daraus folgt, wichtig, zentraler Faktor

๐ŸŽญ 4 Domain Presets in SKILL.md

  1. ๐ŸŽ“ Academic & Scholarly: Formal scientific rigor, active voice, zero conversational filler (Turnitin-proof).
  2. ๐Ÿ’ป Software Engineering & Technical: Concise mechanics, 100% syntax protection, zero marketing hype.
  3. ๐Ÿ’ผ Executive & Business: Data-first, ROI-focused, asymmetrical bullet structures.
  4. โœ๏ธ Conversational & Creative: Natural idioms, contractions (didn't, won't), and varied human cadence.

๐Ÿ“ฆ Local Installation (pip)

You can install antiwatermark as a global CLI tool:

# Clone and install in editable mode
git clone https://github.com/policeakshithreddy/antiwatermark.git
cd antiwatermark
pip install -e .

# Run from anywhere in your terminal
antiwatermark "Your text to analyze"
antiwatermark document.md --inplace
antiwatermark --daemon    # Starts clipboard daemon
antiwatermark --web       # Launches web UI

๐Ÿ“ Repository Structure

antiwatermark/
โ”œโ”€โ”€ antiwatermark/               # ๐Ÿ Installable Python Package
โ”‚   โ”œโ”€โ”€ __init__.py
โ”‚   โ”œโ”€โ”€ core.py                  # Core engine: Immunity shield, heuristics & Unicode cleaner
โ”‚   โ”œโ”€โ”€ cli.py                   # Terminal CLI command entry point
โ”‚   โ””โ”€โ”€ middleware.py            # Drop-in SDK wrapper for Claude, Gemini & OpenAI APIs
โ”‚
โ”œโ”€โ”€ web/                         # ๐ŸŒ 1-Click Interactive Web UI
โ”‚   โ””โ”€โ”€ index.html               # Real-time SPA with live AI vs. Human confidence gauge
โ”œโ”€โ”€ app.py                       # ๐Ÿš€ Zero-dependency local web server (http://localhost:8000)
โ”‚
โ”œโ”€โ”€ extension/                   # ๐Ÿงฉ Standalone Chrome Extension (Manifest V3)
โ”‚   โ”œโ”€โ”€ manifest.json
โ”‚   โ”œโ”€โ”€ content.js               # Auto-strips watermarks on Copy across Claude, Gemini & ChatGPT
โ”‚   โ”œโ”€โ”€ popup.html               # Quick toolbar popup cleaner
โ”‚   โ””โ”€โ”€ popup.js
โ”‚
โ”œโ”€โ”€ SKILL.md                     # ๐Ÿง  Master Agent Skill (4 Persona Presets + Multi-Lingual rules)
โ”œโ”€โ”€ README.md                    # ๐Ÿ“– Complete Documentation (this file)
โ”œโ”€โ”€ pyproject.toml & setup.py    # ๐Ÿ“ฆ Python Packaging Configuration
โ””โ”€โ”€ examples/
    โ””โ”€โ”€ demo_before_after.md     # ๐Ÿ“Š Benchmarks across Tech, Academic & Business domains

๐Ÿ“„ License

Released under the MIT License. Free for personal, academic, and commercial use.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

antiwatermark-1.0.0.tar.gz (17.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

antiwatermark-1.0.0-py3-none-any.whl (14.0 kB view details)

Uploaded Python 3

File details

Details for the file antiwatermark-1.0.0.tar.gz.

File metadata

  • Download URL: antiwatermark-1.0.0.tar.gz
  • Upload date:
  • Size: 17.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.12.1

File hashes

Hashes for antiwatermark-1.0.0.tar.gz
Algorithm Hash digest
SHA256 d1d4121e3a3c3eb7d00a5b9ad73511b107cb218f4dabf4da79c53945428ebb90
MD5 d1079fcf7a1b2615b917ae5eccdfadf3
BLAKE2b-256 e62f6cadbde7beceffbc2587844ef67265c4294a93c30b699d1d77cb62165d40

See more details on using hashes here.

File details

Details for the file antiwatermark-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: antiwatermark-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 14.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.12.1

File hashes

Hashes for antiwatermark-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 102dcf845ccced971a1781ed23334942e394f53dd0f729350f799642377a1ef0
MD5 850ecae4d674811464019b00a3bb19f3
BLAKE2b-256 57ed3ddd32649306f294a18bc2a747e7c07d657077aea1c27177d03fc77bb4de

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page