๐ก๏ธ 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).
๐ 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.
- Open Google Chrome and go to
chrome://extensions. - Toggle on Developer mode (top-right corner).
- Click Load unpacked and select the
extension/folder. - Done! Whenever you press
Cmd+Con 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.mdin 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
- ๐ Academic & Scholarly: Formal scientific rigor, active voice, zero conversational filler (Turnitin-proof).
- ๐ป Software Engineering & Technical: Concise mechanics, 100% syntax protection, zero marketing hype.
- ๐ผ Executive & Business: Data-first, ROI-focused, asymmetrical bullet structures.
- โ๏ธ 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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d1d4121e3a3c3eb7d00a5b9ad73511b107cb218f4dabf4da79c53945428ebb90
|
|
| MD5 |
d1079fcf7a1b2615b917ae5eccdfadf3
|
|
| BLAKE2b-256 |
e62f6cadbde7beceffbc2587844ef67265c4294a93c30b699d1d77cb62165d40
|
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
102dcf845ccced971a1781ed23334942e394f53dd0f729350f799642377a1ef0
|
|
| MD5 |
850ecae4d674811464019b00a3bb19f3
|
|
| BLAKE2b-256 |
57ed3ddd32649306f294a18bc2a747e7c07d657077aea1c27177d03fc77bb4de
|