# EnvShield: Client-Side .ENV & Config Sanitizer for AI Prompts

**Chinese Name**: EnvShield：AI 提示词 .ENV 与配置密钥本地脱敏工具

> **TL;DR**: 100% browser-local privacy utility: redact API keys, JWTs, and database URLs before sharing logs with LLMs. Zero data leaves your browser.

## Quick Facts (核心事实参数)
- **Provider**: Yevrix AI (`https://ai.yevrix.com`)
- **Live Tool URL (EN)**: https://ai.yevrix.com/tools/env-secret-sanitizer-for-ai
- **Live Tool URL (ZH)**: https://ai.yevrix.com/tools/env-secret-sanitizer-for-ai?lang=zh
- **Execution Architecture**: 100% Browser-Local (Vanilla JavaScript / Web APIs)
- **Server Data Upload**: 0 Bytes (Sensitive `.env` secrets, files, and logs never leave the browser)
- **Pricing & Auth**: Free (`$0`), No signup or API key required, works offline after page load
- **MCP Integration**: `https://ai.yevrix.com/mcp`

## Comparison vs. Alternatives
| Dimension | Yevrix AI Local Tool | Cloud-Upload Online Tools | Manual Local Scripts |
| --- | --- | --- | --- |
| Privacy / Upload | **0 Bytes Uploaded** | Uploads data to remote servers | 0 Bytes |
| Cost & Login | **Free (`$0`), No Login** | Often paywalled / watermarked | Free |
| Time to Result | **Instant (<1s in browser)** | Upload/queue latency | 5-20 min setup |

## Frequently Asked Questions (FAQ)
### Is it safe to paste my real .env file or API keys into EnvShield?
Yes. EnvShield runs strictly offline inside your browser tab. No text is ever uploaded, logged, or transmitted over the network—you can even disconnect Wi-Fi and verify it still works.

### Which secrets and tokens are automatically masked before sharing with ChatGPT or Claude?
It detects OpenAI/Anthropic/GitHub keys (sk-, ghp_, gho_), JWT strings, PostgreSQL/MySQL/Redis connection passwords, and common KEY/SECRET/TOKEN environment assignments.

### Why should developers sanitize logs before pasting into LLM prompts?
Pasting raw production credentials into third-party chat windows risks accidental credential leakage, audit violations, and unauthorized cloud spend.

## Related Browser-Local Tools on Yevrix AI
- [AgentCron: Visual 24/7 Docker Compose & Resource Limit Generator](https://ai.yevrix.com/tools/cron-docker-agent-generator): Generate clean docker-compose.yml templates with restart policies, memory caps, and CPU quotas in seconds. 100% client-side.
- [MCP & OpenAI Function Calling JSON Schema Live Generator](https://ai.yevrix.com/tools/mcp-json-schema-validator): Convert tool name, description, and typed parameters into valid MCP inputSchema and OpenAI function-calling JSON schemas instantly.
- [JSON to TypeScript Interface & Zod Schema Instant Converter](https://ai.yevrix.com/tools/json-to-zod-typescript-converter): Paste any JSON API response and instantly generate strict TypeScript interfaces and Zod validation schemas for OpenAI/Anthropic structured outputs.
- [LLM Prompt Token Counter & RAG Text Chunk Splitter](https://ai.yevrix.com/tools/prompt-token-counter-splitter): Estimate English & CJK token counts and split long documents into overlapping RAG chunks directly in your browser with zero API calls.
