Architecture overview

Client-side XML processing

Paste XML
  ↓
Parse XML
  ↓
Validate
  ↓
Format
  ↓
Display
  ↓
Copy / Download

Details

Users paste XML or upload a file. The app parses and validates the XML (using fast-xml-parser for full-document work and sax for streaming). Formatting uses an XML builder and updates the Monaco editor model. For large files the app streams chunks to the worker and writes to disk via the File System Access API or Streamsaver fallback.

Privacy and performance

Core features run in a Web Worker to keep the UI responsive and avoid sending document contents to external servers.