How to Export All Data and Fields from a ServiceNow Table to Excel
- kelly.ryu
- Mar 21
- 3 min read
Updated: 2 hours ago

Are you a ServiceNow user needing to extract an entire table – every single record and every field, including system fields like sys_id – into a manageable Excel or CSV file? While ServiceNow offers various export options, getting a complete data dump can sometimes feel tricky. This article provides a straightforward method to export all data and fields from a ServiceNow table, addressing a common challenge faced by developers and admins who need comprehensive data for analysis, migration, or reporting purposes. We'll guide you through the process step-by-step, enabling you to quickly obtain the complete data you need from your ServiceNow instance.
The Challenge: Exporting Everything
ServiceNow's built-in export functionalities are often geared towards exporting data from a list view or a report. This is very helpful, but these approaches might not include every field in a table, especially system-related columns that aren't typically displayed in list views. When you need a complete picture of your data, including those hidden fields, you need a different approach.
The Solution: Leveraging the sysparm_default_export_fields=all Parameter
The key to exporting all data and all fields lies in using a specific URL parameter: sysparm_default_export_fields=all. This parameter instructs the ServiceNow web service to include every field in the table in the export, including the all-important sys_id and other system-managed fields.
Here's how to use it:
Navigate to the Target Table: In your ServiceNow instance, go to the list view of the table you want to export. For example, if you want to export all incidents, navigate to incident_list.do.
Apply Filters (Optional): If you only want to export a subset of the records, apply the necessary filters using the list view's filter functionality. For instance, you might filter for only active incidents (sysparm_query=active=true).
Craft the Export URL: This is the crucial step. Take the URL from the address bar and modify it by adding the following to the end:
&CSV&sysparm_default_export_fields=all
For example, if your incident list URL with the "active" filter is:
https://<your-instance>.service-now.com/incident_list.do?sysparm_query=active=true
The modified URL for exporting all fields would be:
https://<your-instance>.service-now.com/incident_list.do?sysparm_query=active=true&CSV&sysparm_default_export_fields=all
Execute the URL: Paste the complete, modified URL into a new browser window or tab and press Enter.
Download the CSV File: ServiceNow will automatically generate and download a CSV file containing all records and all fields from the table, including sys_id.
Important Considerations
Performance Impact: Exporting a large table with many fields can potentially impact your instance's performance, especially during peak hours. Consider performing these exports during off-peak times if you're dealing with a very large dataset.
Data Size Limits: Be mindful of potential data size limitations when exporting to CSV. Excel has limitations on the number of rows it can handle. If you're exporting a massive table, consider alternative formats or methods for handling the data.
Security: Be cautious about who has access to these exported files, as they contain the complete data from your ServiceNow table. Ensure appropriate security measures are in place to protect sensitive information.
Alternative Solution: For very large datasets, consider using ServiceNow's built-in data export capabilities with a scheduled job to export data in smaller chunks or explore using the ServiceNow API for more controlled and scalable data extraction.
Exporting all data and fields from a ServiceNow table doesn't have to be a daunting task. By leveraging the sysparm_default_export_fields=all parameter, you can quickly obtain a comprehensive CSV file containing every record and every field, including system fields. Remember to consider performance implications and data security when working with large exports.