Download and install the latest version of Filestar.
Right click on one or more Xpt file(s) on your desktop and select Convert with Filestar.
Type convert to jsonl in the search box.
Press Convert.
Or let an AI agent do it: filestarcli -i file.xpt -c "convert to jsonl" (how).
Documents - File Explorer─☐✕
This PC › Documents
Home
Desktop
Downloads
Documents
Pictures
Music
.xptContract.xpt
.xlsxBudget.xlsx
.pdfReport.pdf
.pngLogo.png
Filestar*Help✕
Drop files here to get started
ConvertMergeCompressExtractMoveZip
Let your AI agent convert XPT to JSONL
Claude Code, Codex, Cursor and other agents can do this on your computer with Filestar. Your files stay on your machine.
Install Filestar and add it to your agents:
npm install -g filestar
filestarcli agent install
Then ask your agent:
“Convert the XPT files in my Downloads folder to JSONL”
Or run it yourself:
filestarcli -i file.xpt -c "convert to jsonl"
Runs on your computer, so your files stay on it. Works on Windows, macOS and Linux. 50 free conversions with the npm install, no account needed.
Can my AI agent convert XPT to JSONL?
Yes. Install the Filestar CLI with npm install -g filestar and your agent can run filestarcli -i file.xpt -c "convert to jsonl" on your computer, so your files stay on it.
An XPT file is a SAS dataset in the XPORT transport format, the format regulators such as the US FDA ask clinical trial data to be submitted in.
A JSON Lines file holds one JSON value per line, usually one record per line, so it can be written and read as a stream. Logs, data exports and machine learning datasets use it.