Launch + Black Friday Nitida Tables Pro launch offer: 30% off the first year until Wednesday, December 2. See plans

Skip to content

Nitida Tables · Documentation

Import and migration

You rarely have to retype a table. Nitida Tables reads files and pasted data, imports TablePress tables with their numbers, and has a migration assistant for three more table plugins.

Import a file or pasted data

Go to Nitida Tables > Import. Under Create a table from a file or pasted data:

  1. Enter a Table name. It defaults to the file name.
  2. Choose a File, or paste data into the Or paste a table box. If you do both, the file is used.
  3. Press Create table.

The first row becomes the header row. The editor opens so you can check the header row and the column types.

Supported formats:

  • CSV and TSV (also .txt). The separator (comma, semicolon or tab) is detected from the first line. Quoted cells, multi-line cells and a UTF-8 byte order mark are handled.
  • Excel (.xlsx): the first worksheet is imported. Dates are converted to dates. This needs the PHP zip extension.
  • HTML (.html, .htm): the first <table> in the file. Merged cells are expanded: a colspan repeats across columns and a rowspan leaves empty cells below. Cell content is reduced to links, bold, italic, line breaks and code. This needs the PHP DOM extension.
  • JSON: a list of objects (the keys become the header row), a list of lists, or an object with a data list.

Files can be up to 5 MB. A table can hold up to 5,000 rows and 200 columns. Rows and columns beyond that are cut off. Settings > Tools > System status shows whether the zip and DOM extensions are available on your server.

Paste from anywhere

You can paste a table from a web page, Excel, Google Sheets or Word into the paste box on Add new or Import. Rows, columns, links, bold and italic text and line breaks come through one to one. CSV text and JSON also work. You can paste into the editor grid too, starting at any cell.

Replace the data of an existing table

Open the table in the editor and press Replace data from a file in the Use and info card. Only the cells change. You can undo it until you save.

Import from TablePress

If TablePress tables are found, Nitida Tables > Import shows an Import from TablePress card with a list of tables and whether each one is Imported or Not imported. Press Import TablePress tables.

  • Data is copied. TablePress is not changed.
  • Table numbers stay the same.
  • Name, description, hidden rows and columns, the header row setting and extra CSS classes carry over. Search and sorting are on in Nitida Tables when they were on in TablePress.
  • Tables that were already imported are skipped, unless you tick Overwrite tables that were already imported.

To keep existing posts working, open Nitida Tables > Settings > Advanced and turn on Also handle [table id=N] shortcodes (TablePress compatibility). Posts that use [table id=1] then show the Nitida table with the same number. If a number was not imported, the previous handler (TablePress, if it is still active) takes over.

The migration assistant

Open Nitida Tables > From other plugins. The page is titled Migrate to Nitida Tables. It scans your site for tables made with:

  • TablePress
  • Ninja Tables
  • wpDataTables
  • Data Tables Generator by Supsystic

Each plugin gets a card showing how many tables are copied, how many posts use them and whether the plugin is active. Press Scan again to refresh the scan. If nothing is found, the page says “Nothing to migrate”.

For each plugin, the assistant walks you through four steps:

  1. Copy the tables. Select tables in the list and press Copy selected tables. The list shows the size, the type, the posts that use the table and a status: Copied (with a link to the new table), Not copied or Cannot copy (with the reason). Tick Copy again over earlier copies only if you want to replace copies you already made. Changes you made to them in Nitida Tables are then replaced.
  2. Keep old shortcodes working. This switch makes the old shortcodes and blocks show the Nitida copy of each copied table, so no post needs editing. Tables you have not copied stay with the old plugin. Turning the switch off gives the old plugin its shortcodes back.
  3. Check your pages. The list shows where each table is used. Open a few pages and look.
  4. Deactivate the old plugin. Do this on the Plugins screen, but do not delete the old plugin yet. The original tables are never changed, so you can go back at any time.

The shortcodes and blocks that are taken over:

  • TablePress: [table id=N] and the TablePress block
  • Ninja Tables: [ninja_tables id=N], the Ninja Tables table builder shortcode and the Ninja Tables block
  • wpDataTables: [wpdatatable id=N] and the wpDataTables block
  • Data Tables Generator: [supsystic-tables id=N] and its block

What does not carry over

Each table in the list shows notes for what will not come across. The common ones are:

  • Merged cells are split. The value stays in the first cell.
  • Conditional formatting, cell and table styles, custom CSS and custom designs.
  • Charts built on a table (wpDataTables, Data Tables Generator). In Pro you can draw charts again, see Display features.
  • Formulas are copied as values, not recalculated.
  • Front-end editing in wpDataTables, and server-side processing: all rows are copied.
  • Tables fed by Google Sheets, a CSV address, posts or an SQL query are copied once, as they are now. They do not update afterwards. With Nitida Tables Pro you can keep a Google Sheet or CSV in sync, see Data sources.
  • The TablePress table name shown above a table is not carried over. Add it as a heading in your post if you need it.
  • Only the first 20,000 rows of a table are copied.

Copy one table first and check the page where it is used. Then copy the rest and switch on Keep old shortcodes working.

Back up and restore your tables

Settings > Tools has a Backup card. Download backup gives you every table with its options as one JSON file. Restore it on this or another site with Restore from a backup file. Tick Replace tables that have the same number if the numbers should be kept. Otherwise restored tables get new numbers.