github kohii/smoothcsv3 v3.27.0

27 minutes ago

New Features

A New SQL Engine for Row Filters and the SQL Console πŸš€

Row filters and the SQL Console now share one SQL engine, so a condition behaves the same in both, and Open in SQL Console returns the same rows as the filter. Filters and queries on large files run faster.

The dialect is standard SQL with PostgreSQL-style functions. New in the SQL Console:

  • Regular expressions: ~, ~*, REGEXP_REPLACE, REGEXP_MATCH
  • Window functions, WITH RECURSIVE, LATERAL, DISTINCT ON, and subtotals with ROLLUP and CUBE
  • Aggregates for medians and percentiles (PERCENTILE_CONT), the most frequent value (MODE), statistics (STDDEV, CORR), and arrays and JSON (ARRAY_AGG, JSON_AGG)
  • Split a cell into rows with STRING_TO_TABLE(tags, ','), expand JSON with JSON_EACH_TEXT, and generate rows with GENERATE_SERIES
  • Dates, times and intervals: CAST(x AS DATE), x + INTERVAL '1 day', EXTRACT, TO_CHAR, and time zones by name

See SQL Expressions and SQL Console for the full reference.

Updating existing filters and queries

Some filters and queries written for earlier versions return different rows or fail.

Show the changes
  • SQLite queries in the SQL Console. Write column names in double quotes instead of square brackets, as in "Category". LIKE is now case-sensitive; use ILIKE to ignore case. SQLite functions such as strftime, date('now'), group_concat and ifnull fail with an error that suggests the rewrite. See Rewrites for the full list.
  • Blank and non-numeric cells. They become NULL when used as numbers: c <> 1 no longer matches them, and AVG skips them instead of counting them as 0. Write c IS DISTINCT FROM 1 to include them.
  • Division by zero. It is an error.
  • Booleans. Comparing a cell with TRUE is an error. For cells holding 1 and 0, write c = '1'.
  • Dates. date - date returns the number of days as an integer, so compare it with a number: CAST(due AS date) - CURRENT_DATE > 7.
  • TRIM. It removes only spaces, not tabs or full-width spaces.
  • rowid. It returns the row number shown in the grid, so header rows count. A column headed rowid is referenced by its position, such as c3.

Related issues: #290, #191, #249

Numbers with a Comma as the Decimal Separator πŸ”’

The new Decimal Separator setting tells SmoothCSV how the numbers in your files are written: 1,234.56 with a period, or 1.234,56 with a comma. By default, it follows your system's regional format. Sorting, aggregates, row filters, the SQL Console and more read numbers with this setting.

If your file uses the other separator, SmoothCSV warns you and offers to open the setting.

decimal-separator-warning

Related issues: #216, #291

Dates in Your Month and Day Order πŸ“…

The new Month and Day Order setting decides how SmoothCSV reads dates whose year comes last: with Month/Day, 03/05/2026 is March 5; with Day/Month, it is May 3. By default, it follows your system's regional format. Sorting, row filters and the SQL Console read dates with this setting.

Dates written other ways, such as 2026-03-05 or 5 Mar 2026, read the same in either order. Sorting no longer reads dates with a two-digit year, such as 3/5/26, as dates. As with numbers, SmoothCSV warns you when your dates use the other order.

month-day-order

Related issues: #215

Change Documents with UPDATE, INSERT and DELETE ✏️

The SQL Console now runs UPDATE, INSERT and DELETE. The changes appear in the document's tab as unsaved edits, as if you had edited the cells yourself: the file changes only when you save it, and one undo reverts the whole statement. A file that is not open opens in a background tab with the changes.

sql-update
UPDATE customers SET price = ROUND(price * 1.1, 2) WHERE category = 'A';
INSERT INTO customers (id, name) VALUES ('101', 'Ari');
DELETE FROM customers WHERE status = 'closed';

Related issues: #172

Duplicate Rows πŸ“‘

Duplicate Rows copies the selected rows underneath them.

duplicate-rows

Related issues: #288

Improvements

  • Regular expressions in row filters - Create regular expression conditions in the filter builder and the column menu, or write them in filter SQL with ~ and ~*. (#249)
  • Documentation - The documentation moved to smoothcsv.com/docs, and the SQL help links in the row filter and the SQL Console open it there. (#296)
  • Clear message on unsupported macOS - On macOS earlier than 13.3, macOS now shows that SmoothCSV can't run on that version, instead of the app crashing on launch. (#304)
  • Less frequent license reminder - The reminder to purchase a license now appears at most once a week, and only when the app starts, never while you are working.
  • Faster deletion of filtered rows - Delete Matching Rows and Delete Non-Matching Rows are fast even on large files.
  • Safer links - Links to files or other apps (such as file:// or custom app links) now ask for confirmation before opening. Choose Always Open to stop asking for the links in that file.
  • Email and phone links - mailto: and tel: links in cells can now be opened with Cmd/Ctrl+click.
  • Command Palette in the title bar menu - The menu at the top right of the window now opens the Command Palette. (#301)
  • UNACCENT - UNACCENT() also converts Ε§/Ε¦, Ε‹/Ŋ and ΔΈ to t/T, n/N and q, as PostgreSQL does. (#295)

Bug Fixes

  • Fixed Enter and Shift+Enter replacing the selected cell's value with a line break after you removed their shortcuts. (#300)
  • Fixed SmoothCSV closing when opening a file larger than 4 GB on Windows. (#112)
  • Fixed the window staying blank, or the app quitting right after launch, on Linux with an NVIDIA GPU. Launching with WEBKIT_DISABLE_DMABUF_RENDERER=1 is no longer needed. (#146, #283)
  • Fixed an intermittent crash on macOS when restarting SmoothCSV with multiple windows open.
  • Fixed the aggregate row showing floating-point tails such as 16.490000000000002, and both the aggregate row and the status bar showing a tiny number such as 5.55e-17 instead of 0.
  • Fixed clicking the cell you had just edited sometimes leaving the previous selection in place, so the next Ctrl+Enter (Cmd+Enter on macOS) filled the old range again.
  • Fixed column filter edits being lost when made just after opening the column menu.
  • Fixed sorting by Selected Rows when the selection had separate blocks of rows: rows were duplicated or lost, and rows outside the selection changed.
  • Fixed dragging rows while a filter was applied showing a hidden row and hiding another.
  • Fixed SQL Console queries including footer rows in results and aggregates.
  • Fixed the SQL Console mishandling restored tabs that had not been displayed yet.
  • Fixed the smoothcsv command installed from the AppImage no longer working after SmoothCSV was closed.
  • Fixed sorting selected cells failing when some rows have fewer columns than the selected range.
  • Fixed long SQL error messages being cut off in the result panel.
  • Fixed an imported Excel sheet opening with the content of an unsaved new file from the previous session that had the same name.
  • Fixed Escape not closing macOS message dialogs whose buttons were not in English.
  • Fixed smoothcsv:// links not opening SmoothCSV on Linux systems without the desktop-file-utils package.
  • Other minor bug fixes and improvements.

Download

Download page

Don't miss a new smoothcsv3 release

NewReleases is sending notifications on new releases.