Mathcad to JSON converter
The converter reads the XML structure of .xmcd and .xmcdz files and returns machine-readable JSON with a documented schema: `{"format":"mathcad-json","version":"1.0","blocks":[…]}`. Every document region becomes a typed block — heading, paragraph, formula, or image. Formulas are carried as a LaTeX string in the `latex` field; images and plots as base64. The format is easy to parse programmatically: feed it into your own pipeline, index the formulas, transform it further, or build a custom renderer. No Mathcad install required; conversion runs server-side in 3–5 seconds. Ideal for developers and engineers who need the calculation content from code. The source file is deleted immediately after processing; the result is available for 5 minutes.
How it works
- 1Upload your Mathcad file
Drag a .xmcd or .xmcdz file (up to 50 MB) onto the upload zone. Files are encrypted in transit.
- 2Select JSON as the output format
In the format selector choose "JSON" and click Convert. The server parses the XML and returns JSON in 3–5 seconds.
- 3Download the .json and parse it
The file is available for 5 minutes. Parse the `blocks` array in your code, render formulas from the `latex` field, or pass the data further down your pipeline.
Frequently asked questions
What is the JSON output schema?
A top-level envelope: `{"format":"mathcad-json","version":"1.0","blocks":[…]}`. `blocks` is an ordered array of typed blocks — `heading`, `paragraph`, `formula`, `image`. The schema version lets the format evolve safely.
How are formulas stored?
Each `formula` block carries a LaTeX string in the `latex` field (the same typography as the LaTeX/PDF output), plus an optional result. This is convenient for rendering via MathJax/KaTeX or re-converting downstream.
How are images delivered?
The `image` block carries the bytes in base64 (the `data` field) plus a `mime` type. The JSON is self-contained — no external files. Cyrillic is preserved verbatim (ensure_ascii is off).
Do I need Mathcad installed?
No. Conversion is fully server-side — you only need a browser and a .xmcd or .xmcdz file.