Development build · main @ 589f3ced80 · 2026-12-04 · May describe features that are not in a release yet Manual overviewA–Z index

Convert .prism and .pzfx files to CSV

On this page

Goal

Get the tables out of an existing .pzfx or .prism file. By the end you will have checked what the file contains, exported one table or every table to CSV or TSV (including semicolon-delimited, decimal-comma files), and, if you want, kept the whole workbook as a CurveBook project.

You need: CurveBook installed. No other software is required, and nothing leaves your computer.


Seeded dataset

This guide uses a clean-room synthetic .pzfx file (experiment.pzfx) with two tables:

  1. Dose response (XY table, two replicate Y subcolumns, one excluded cell marked with *):
log doseResponse:Y1Response:Y2
-92.13.0
-810.555.0*
-748.051.5
-691.289.9
  1. Groups (Column table, two groups):
ControlTreated
1.22.3
1.42.6
1.12.0

A clean-room .prism archive (study.prism) contains the same Groups table plus an analysis view snapshot.


Desktop app steps

1. Import the file

  1. Choose File › Import › Import .pzfx files… (or Import .prism files) and pick the file.
  2. If your current project has unsaved work, CurveBook asks how to bring the file in. Choose Add to current project or Open as new project.

You should see: each table from the file in the Navigator. If anything could not be imported, Import Warnings opens and lists it.

2. Review import warnings

Unsupported parts of a file, such as proprietary graph blocks, are skipped while the data tables import cleanly. Read the list, then click Close. Reopen it later from the Warnings pill in the status bar or File › Import › Import Warnings.

3. Check the tables

Click Dose response and Groups in the Navigator. Check the column titles and replicate subcolumns. Excluded values keep their place in the grid and are shown struck through.

4. Export one table

  1. Open the table and choose File › Export › Data Table (CSV)….
  2. In Export CSV Table, set Delimiter and Decimal separator. For example, choose Semicolon (;) with Comma (,) for spreadsheets set to a decimal-comma locale.
  3. Choose where to save. Naming the file .tsv switches to tab-separated output automatically.

You should see: one file with the table's values, and a trailing * on any excluded value.

5. Export every table at once

Choose File › Export › All Data Tables (CSV)… and pick a folder. You should see: one CSV file per data table in that folder.

To keep everything, including future analyses, as a CurveBook project, save the project; see Files and sharing.


CLI and MCP steps

Inspect sheets and warnings

curvebook-cli info experiment.pzfx
curvebook-cli info study.prism

info lists every data table, info sheet, imported analysis, and warning without modifying the input file.

Export the first table, a named sheet, or TSV

# Export the first table (Dose response) to CSV
curvebook-cli convert experiment.pzfx experiment.csv

# Export a specific table by title or sheet ID
curvebook-cli convert experiment.pzfx groups.csv --sheet "Groups"

# Export tab-separated values (.tsv inferred from extension, or pass --format tsv)
curvebook-cli convert experiment.pzfx groups.tsv --sheet "Groups"

# Convert a .prism archive table to CSV
curvebook-cli convert study.prism study-groups.csv

Export with semicolon delimiter and decimal commas

Convert to a .curvebook project once, then call table.exportCsv with explicit delimiter and decimal-separator options:

curvebook-cli convert experiment.pzfx experiment.curvebook
curvebook-cli table.exportCsv \
  --in experiment.curvebook \
  --sheet-id groups \
  --path groups-eu.csv \
  --delimiter ";" \
  --decimal-separator ","

Convert to a .curvebook project (and data-only .pzfx)

curvebook-cli convert experiment.pzfx experiment.curvebook
curvebook-cli convert study.prism study.curvebook
curvebook-cli convert experiment.curvebook export.pzfx

Equivalent MCP tool calls

In an MCP client connected to curvebook-cli mcp --workdir <dir>, run command_run with:

  1. table.importPzfx ({"path": "experiment.pzfx"}) or project.open ({"path": "study.prism"})
  2. table.exportCsv ({"sheet_id": "groups", "path": "groups-eu.csv", "delimiter": ";", "decimal_separator": ","})
  3. project.save ({"path": "experiment.curvebook"})

Reading the results

  • Replicate subcolumns: XY and Grouped replicate subcolumns export side by side as Response:Y1, Response:Y2, and so on.
  • Excluded values: Cells marked excluded in .pzfx or .prism files keep a trailing * in CSV/TSV export (for example 55*), so downstream scripts never silently treat excluded measurements as active observations.
  • Live recompute vs. read-only snapshots: Verified .prism analyses recompute live; other saved analysis views import as read-only snapshots so numbers are never silently altered.
  • Legacy binary files: Older binary .pzf files (and .pzfx files starting with a PCFF binary header) are refused with a clear error message rather than producing garbled tables.
  • For full format boundaries, CSV quoting rules, and schema details, see Files, import and export.

Exporting

TargetDesktop menuCLI commandWhat is written
Single CSVFile › Export › Data Table (CSV)…curvebook-cli convert in.pzfx out.csv --sheet "Groups"Selected table (, / . by default)
Single TSVFile › Export › Data Table (CSV)… (.tsv)curvebook-cli convert in.pzfx out.tsv --sheet "Groups"Tab-separated table
Decimal-comma CSVFile › Export › Data Table (CSV)… (; / ,)curvebook-cli table.exportCsv --in proj.curvebook --sheet-id groups --path out.csv --delimiter ";" --decimal-separator ","Semicolon-delimited table with , decimals
All tablesFile › Export › All Data Tables (CSV)…Loop convert --sheet <id> per table from info --jsonOne CSV per data sheet
CurveBook projectFile › Save As…curvebook-cli convert in.pzfx out.curvebookFull native archive
Data-only .pzfxFile › Export › .pzfx file…curvebook-cli convert out.curvebook export.pzfxData tables and info sheets only

Note

.pzfx export saves your data tables and info sheets only. Analyses, graphs and layouts stay in your .curvebook project.