Burp Suite extension that auto-replaces cookies and headers in requests. Stop wasting time copy-pasting session tokens into every request.
You got a retest, a needs more info bug, or just expired sessions. You need to replay dozens of requests from HTTP History and Repeater but your session expired. Now you gotta replace cookies in every single request manually. That's annoying and wastes time.
Cookie Swapper fixes that. Define your replacement rules once, and every request you send through the plugin gets updated cookies/headers automatically.
- Hotkey —
Ctrl+Shift+Qsends the selected request with fresh tokens (no right-click needed) - Right-click menu — Send to Cookie Swapper from anywhere in Burp
- Replacement rules — Cookie and header replacement with enable/disable toggle
- JSON import — One-click import from Cookie Editor browser extension
- Status color coding — Green (2xx), blue (3xx), orange (4xx), red (5xx) tab colors
- Status filters — Filter tabs by status code to quickly find failing requests
- Custom tab bar — Wrapping tabs with middle-click to close, Close All button, All Tabs dropdown
- Keyboard shortcuts —
Ctrl+Wclose tab,Ctrl+]next tab,Ctrl+[previous tab - Send / Send (No Replace) — Resend with or without applying rules
- Persistent rules — Rule names and types saved to Burp project (values cleared on restart for security)
- Delete key — Select a rule and press Delete to remove it
- Grab
CookieSwapper.jarfrom Releases - Burp → Extensions → Add → Java → select the jar
- Open the Cookie Swapper tab in Burp
- Add rules — set type (Cookie or Header), name, and value
- Or click Import Cookies JSON to import from clipboard
- Go to Proxy History / Site Map / anywhere and select a request
- Press
Ctrl+Shift+Qor right-click → Send to Cookie Swapper - Request opens in a new tab with cookies replaced and response shown
- Use the status filter buttons (All, 2xx, 3xx, 4xx, 5xx) to filter tabs
- Click Send to resend with current rules, or Send (No Replace) to send as-is
./gradlew jar
Output: build/libs/CookieSwapper-1.0.0.jar
MIT
