About PAC Script Generator
A modern web-based application for creating, testing, and sharing Proxy Auto-Configuration scripts
What is a PAC Script?
A PAC (Proxy Auto-Configuration) script is a JavaScript function that browsers use to automatically select the appropriate proxy server for a given URL. PAC scripts enable sophisticated network routing based on hostnames, URL patterns, IP ranges, and domains.
Features
- Visual rule builder with 4 rule types (Host, URL Pattern, IP Range, DNS Domain)
- Drag-and-drop rule reordering
- Real-time PAC script generation
- Script testing with execution tracing
- Client-side and server-side sharing
- Configuration management with local storage
- Quick start templates
- Dark/light theme support
Technology Stack
- Next.js 15 with App Router
- React 19 and TypeScript
- Tailwind CSS 4
- Zustand for state management
- Vercel KV (Redis) for server-side storage
- Biome for linting and formatting
Privacy & Data
Your configurations are stored locally in your browser. Server-side shared scripts are stored for 30 days and then automatically deleted. We do not collect any personal information.
Open Source
This project is open source and available on GitHub. Contributions are welcome!
Version 1.0.0 • Last Updated: 1/10/2026