Exporting Data
The Export tab formats your generated data for use outside MockMagic. Whether you need to paste test data into a spreadsheet, feed it to an API, or embed it directly in C# code, the Export tab handles the conversion and copies the result to your clipboard.
Using the Export Tab
- Format dropdown - Select the output format: Text, CSV, JSON, or C# Code.
- Variable Name - (Shown only for C# Code format.) Set the variable name used in the generated C# array declarations.
- Copy to Clipboard - Click to copy the formatted output.
- Preview - A scrollable text area showing the full formatted output. Updates automatically when you change the format or variable name.
If no data has been generated yet, the tab shows a help message: "Generate some data first."

Data Priority
The Export tab automatically uses the most recent data you generated, in this priority order:
- Multi-series data (from the Series tab with Series Count > 1)
- Single series data (from the Series tab with Series Count = 1)
- Simple data (from the Simple Data tab)