A fast, offline-capable JSON/XML viewer, formatter, and diff tool. Paste or upload a document to explore it as a searchable tree, validate it with precise error locations, convert JSON ↔ XML, query with JSONPath / XPath, and diff two documents.
index.html is fully self-contained (no build step, no dependencies) — just host the
file anywhere static.
- Create a new repository on GitHub (e.g.
refract). - Upload
index.html(and thisREADME.md+.nojekyll) to the repo root.- Web UI: open the repo → Add file → Upload files → drag them in → Commit changes.
- Or via git:
git init git add index.html README.md .nojekyll git commit -m "PAW – Payload Analysis Wingman" git branch -M main git remote add origin https://github.com/<you>/refract.git git push -u origin main
- In the repo: Settings → Pages.
- Under Build and deployment → Source, choose Deploy from a branch.
- Set Branch to
mainand folder to/ (root), then Save. - Wait ~1 minute, then visit:
https://<you>.github.io/<repo>/
That's it — the whole app lives in that one file.
- The tool saves your document, theme, and layout to the browser's local storage and restores them on reload. "Share link" (or ⌘/Ctrl+S) encodes the current state into a URL you can bookmark or send.
- Fonts load from Google Fonts (needs a connection). Everything else runs locally in the browser — no data ever leaves the page.
- To update the page later, replace
index.htmlwith a newer build and commit.