You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Database CSV export cuts off long JSON cells #37151
bugSomething isn't workingexternal-issueCreated outside of SupabasefrontendRelated to Supabase Dashboardpr-openedA PR has been opened to resolve the issue
When exporting database rows through the web interface, JSON cells with more that ~10 000 characters are cut off in the resulting CSV file (not sure about other data types).
I don't know if that was intended somewhere somehow, but it makes the data export useless, as well as dangerous because it silently omits data, and also makes the json content malformed.
Hope this can be fixed.
To Reproduce
Steps to reproduce the behavior, please provide code snippets or a repository:
Go to the table editor in the web interface and view a table.
Select one or multiple rows that have a JSON cell with more than ~11k characters
Click the Export to CSV button above.
Observe the resulting CSV file and see how not all the content of the JSON cell is in there.
Expected behavior
To download a CSV file with the full content of all selected rows and their cells.
Screenshots
This is what the cut off point in the CSV looks like:
System information
OS: Windows 10
Browser: Firefox v140
Reacted by Leon Scherer, Nikita K, Hans Daigle and Barton Holdridge
+1 there was no warning that the CSV/JSON exports would silently cut off the jsonb column after 10k characters. Also, dumping the JSONL via pgdump outputs an invalid JSON since the jsonb column characters are not escaped.
edit: you can use the SQL editor to query results and export from CSV there. The jsonb value won't be truncated in that export to CSV. The table editor's CSV export does silently keep the jsonb truncated, however.
bugSomething isn't workingexternal-issueCreated outside of SupabasefrontendRelated to Supabase Dashboardpr-openedA PR has been opened to resolve the issue
Activity
sajadmh commentedon Aug 13, 2025
+1 there was no warning that the CSV/JSON exports would silently cut off the jsonb column after 10k characters. Also, dumping the JSONL via pgdump outputs an invalid JSON since the jsonb column characters are not escaped.
edit: you can use the SQL editor to query results and export from CSV there. The jsonb value won't be truncated in that export to CSV. The table editor's CSV export does silently keep the jsonb truncated, however.
sgaburahf commentedon Nov 3, 2025
Same happens if you export as SQL
radzisz commentedon Jan 29, 2026
Sam problem!
fix(studio): prevent truncation of large values in copy/export operat…