Protect your session data by sanitizing your HAR files before sharing. Built with Cloudflare Workers.
At Cloudflare, we're committed to building a better Internet. We want to make it possible to troubleshoot with HAR files without the threat of a stolen session. The HAR File Sanitizer will remove sensitive data using “clientside” logic. Meaning that no one—including Cloudflare— will ever see the content from your HAR files. This makes it safe to send to another support, engineering, or external team. For some tools, like Cloudflare Access, logic is included to sanitize session tokens without fully removing them. For other tools, the session token may be fully stripped out. If you are a provider who would like special support for your token, please file an issue or open a pull request on our repository.
HAR files are JSON-formatted archive files used to log web browser interactions. Developers and IT professionals often use the performance data in HAR files to troubleshoot issues. Since HAR files record all web browser requests, they may contain sensitive data. This includes usernames, passwords, credit card numbers, and session cookies. These details can be exploited if fallen into the wrong hands. Sanitizing HAR files removes sensitive content. This allows you to share them for debugging or analysis without risking exposure. Learn more about using HAR files for troubleshooting.