Web App · Developer Tooling
Turn HAR Files and "Copy as Fetch" into Clean API Documentation
Drop a .har file or paste "Copy as fetch", select the calls you want, remove or mask secret keys, and copy a beautified request/response sequence.
JavaScriptHTML / CSSHARRegex
Abstract
The problem
API behaviour is scattered across the browser Network tab, and copying URLs, methods and minified JSON bodies one by one is slow and unreadable.
The solution
A centralised API clipboard that bulk-imports .har files or parses fetch strings, beautifies, filters and sequences the calls into one document.
The result
A clean, organised API sequence ready for AI prompts, technical docs or bug reports.
Input & Output
Input
- A .har file (drag-and-drop) or a "Copy as fetch" string plus raw response
Output
- One structured, beautified text block with stats and a Copy button
Optional output
- Filtered output with keys removed or wrapped as [...]
- Deduplicated and re-ordered request sequence
System Diagram
Capture
.har drop or fetch string
Select
Checklist of calls
Refine
Beautify · dedupe · key filters
Compose
Toggle URL / body / response · reorder
Generate
Copy-ready document
How It Works
Dual input
Manual fetch parsing for one issue, or bulk HAR import for a whole flow.
JSON beautifier
Detects stringified JSON and applies 2-space indentation.
Privacy filters
Recursively remove or wrap keys such as token or password.
Deduplication
Removes identical, repetitive calls.
Custom composition
Show or hide URL, payload and response; Move Up / Move Down ordering.
Configuration
| Option | Purpose |
|---|---|
Advanced Filters | Keys to remove or wrap across all selected requests. |
Visibility toggles | Include URL, request payload and/or response body. |
How to Run
# Paste a "Copy as fetch" string into Manual Input# Drop a .har file onto the dashed drop-zone# Select requests → Remove Duplicates → Generate Output → CopySource Code
Loading…
Released under the MIT license. Free to use, modify and share.
Impact & Benefits
Screenshots
Frequently Asked Questions
How do I turn a HAR file into readable API docs?
Drop the .har file onto the tool, tick the requests you need, and click Generate Output.
Can I hide tokens and passwords before sharing?
Yes. Advanced filters remove keys or wrap them as [...] across all selected requests.
Does my data leave my computer?
No. The tool runs entirely in your browser.
Related
Merge Selected Project Files into One AI-Ready Text Block
Select files from a local project and merge them into one sanitised, AI-ready text block.
Read documentation