Step 1 / source
Choose the source
Drop one file here
Choose a XML file whose structure you understand. The browser validates the selected extension and signature before processing it.
Checking publication status...LOCAL DEVELOPER WORKSPACE / XML TO PYTHON DATACLASS
Convert XML into Python Dataclass locally, with explicit format controls, bounded validation, a reviewable preview when practical, and a separately named download.
Step 1 / source
Choose a XML file whose structure you understand. The browser validates the selected extension and signature before processing it.
Checking publication status...The XML bytes are processed inside this browser tab. Only ordinary catalogue and telemetry requests may reach Nirmion; selected file contents are not included.
The converter creates a separately named output. It never writes back into the source file.
One .xml file up to 5 MB. Processing is bounded to protect browser memory; malformed, encrypted, unsupported, or structurally excessive input is rejected.
Plain-language method
The browser parses XML records, infers Python scalar annotations and optional fields, normalises unsafe attribute names, resolves name collisions, and emits one dataclass. The generated class contains field definitions only; source row values are not embedded.
Use a well-formed XML source with a consistent record or document structure. Repair invalid syntax and remove unsupported encryption before conversion.
Choose only settings supported by the destination workflow. Defaults favour readable, interoperable Python Dataclass output; dialect, delimiter, worksheet, naming, null, page, and indentation choices should match the receiving application.
Open the downloaded Python Dataclass file in its intended application and verify record counts, field names, character encoding, and any destination-specific behavior before replacing an established workflow.
WORKED EXAMPLE / REVIEW BEFORE RELYING
Use a short, non-sensitive sample first. This example shows the checkpoints to apply before moving an authorised dataset into the destination workflow.
Start with sample.xml containing two records that exercise required, optional, numeric, text, and null values.
Run the inference once, then compare every generated field and type with the two XML records.
Save the Python Dataclass artifact as a draft contract and add business rules that cannot be inferred from a small sample.
Useful when
Before converting
Know the boundary
Inference is based only on values present in this XML sample. Optional fields, larger numeric ranges, dates, identifiers, enumerations, nested structures, and business constraints may need stricter manual definitions. Treat the Python Dataclass output as a reviewed starting point, not an authoritative production contract.
Quick answers
These answers describe the exact local conversion boundary and the checks still owned by the reviewer.
No. The selected XML file is read by browser APIs and transformed in this page. Nirmion does not receive its bytes through the catalogue API, and the source selection is cleared after a successful run. The generated download remains available only in the current page until you reset, refresh, or close it.
The converter preserves the supported record values and structure described on this page, but Python Dataclass cannot represent every XML feature identically. Styling, formulas, metadata, namespaces, type annotations, comments, or application-specific extensions may be normalised or omitted. Compare the preview and downloaded artifact with the source before using it in production.
Check the record and field counts shown after conversion, then open the result in the application that will consume it. Verify headers, null handling, numeric interpretation, character encoding, and any selected dialect or formatting options. For database scripts or generated code, review and test the file in an isolated environment before execution or integration.
YOUR NIRMION