Getting Started
What Is an RPT File?
By the Origin Software team · Updated
Definition
An RPT file is a Crystal Reports document. It stores everything a report needs: the page layout, the database queries behind it, formulas, parameters, and often a snapshot of the data from the last time the report ran. The .rpt extension has been the native Crystal Reports format since the product's earliest releases.
What is inside an RPT file?
- Layout and formatting: sections, fields, charts, groups, and styling.
- Data definitions: the data source connection details and the query the report runs.
- Logic: formulas, selection criteria, and parameters that shape the output.
- Saved data (optional): a report can be saved with its last result set embedded, so it opens instantly without touching the database.
The saved-data point matters when choosing software. A report with saved data can be read by any viewer. A report without saved data must be refreshed against its data source before it shows anything, which requires a viewer that supports live connections, such as ViewerFX Standard.
Where does the format come from?
Crystal Reports began at Crystal Services, a Vancouver company that shipped the first versions in the early 1990s and established the .rpt format as the report's single self-contained file. Seagate acquired the company in the mid 1990s, and under Seagate Software and later Crystal Decisions the product became the de facto standard for embedded reporting, bundled with countless business applications. Business Objects acquired Crystal Decisions in 2003 and folded Crystal Reports into its business intelligence portfolio, and SAP acquired Business Objects in 2008, which is why the product is formally SAP Crystal Reports today.
The .rpt format evolved with each generation, and current tooling reads files created by Crystal Reports 8.5 and above. It is a proprietary binary format, so ordinary text editors and office applications cannot open it meaningfully.
How do I open an RPT file?
Use a Crystal Reports viewer or the Crystal Reports designer. For reading, printing, exporting, and emailing reports, a viewer is the simpler path: download ViewerFX for Crystal Reports, open the file, and work with it directly. ViewerFX opens reports created in Crystal Reports 8.5 and above on Windows 10 and 11, with a 45-day full feature trial.
Why are RPT files sometimes so large?
Saved data is nearly always the reason. A report's layout, formulas, and queries take up very little space; the embedded snapshot of the last result set is what grows. A report saved after pulling a handful of summary rows stays small, while the same report saved after pulling a year of transaction detail can be enormous, because the file is carrying every row it retrieved. Size scales with the data captured, not with the complexity of the design.
This has a useful flip side: a large .rpt file usually means the report will open and show data anywhere, no database required, because everything it needs is inside the file.
Why can't I just convert or rename an RPT file?
Renaming changes nothing: the extension is a label, and the bytes behind it are still a proprietary binary bundle of layout, queries, formulas, and data that only Crystal Reports tooling can interpret. There is no textual equivalent of that bundle for another program to read.
What people usually mean by "convert" is exporting a rendered result. Open the report in a viewer and export it to PDF, Excel, or another format, and you get a faithful copy of the output. Understand what is lost, though: the export is a snapshot document. The live report definition, the queries, parameters, and formulas that could produce next month's numbers, exists only in the .rpt file itself.
Common misconceptions
- "An RPT file is a database." It is not. It may contain a copy of query results, but it is a report document, not a data store you can query or update.
- "It is basically a spreadsheet." Also no. A spreadsheet holds cells; an .rpt holds a formatted report definition plus, optionally, captured results. Exporting to Excel produces a spreadsheet from it.
- "Opening it needs the database it was built against." Only when the report was saved without data. A report saved with data opens and displays on any PC with a viewer, no database connection involved.
- "I need Crystal Reports to open it." Only for editing the design. Viewing, printing, exporting, and emailing need just a viewer such as ViewerFX.