Title: Creating custom Table ids
Last modified: August 22, 2018

---

# Creating custom Table ids

 *  Resolved [manishmiscellenaous87](https://wordpress.org/support/users/manishmiscellenaous87/)
 * (@manishmiscellenaous87)
 * [7 years, 8 months ago](https://wordpress.org/support/topic/creating-custom-table-ids/)
 * Hi Everyone!
 * I want to import around 250 tables but on uploading through a zip file the Table
   ids are created automatically.
 * Is there a way that the Table ids created are the filenames of the csv file.
 * Thanks
    Manish

Viewing 5 replies - 1 through 5 (of 5 total)

 *  Plugin Author [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * (@tobiasbg)
 * [7 years, 8 months ago](https://wordpress.org/support/topic/creating-custom-table-ids/#post-10612948)
 * Hi,
 * thanks for your question, and sorry for the trouble.
 * Unfortunately, this is not directly possible — unless you use the TablePress 
   JSON format as the import format. There, you could define the desired table ID.
 * Regards,
    Tobias
 *  Thread Starter [manishmiscellenaous87](https://wordpress.org/support/users/manishmiscellenaous87/)
 * (@manishmiscellenaous87)
 * [7 years, 8 months ago](https://wordpress.org/support/topic/creating-custom-table-ids/#post-10616311)
 * Hi
 * Thank you for the reply.
 * I search JSON format from another post.
 * [[“row 1, col 1″,”row 1, col 2″,”row 1, col 3″,”row 1, col 4”],[“row 2, col 1″,”
   row 2, col 2″,”row 2, col 3″,”row 2, col 4”],[“row 3, col 1″,”row 3, col 2″,”
   row 3, col 3″,”row 3, col 4”]]
 * Please let me know how do i add the table id.
 * Also, is there an easy way to convert .csv to JSON format.
 * Thanks
    Manish
 *  Plugin Author [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * (@tobiasbg)
 * [7 years, 8 months ago](https://wordpress.org/support/topic/creating-custom-table-ids/#post-10616784)
 * Hi,
 * this is basically the “minimum” JSON format, with just the table data. To see
   an example of the full data format, I suggest to simply export one of your TablePress
   tables (you could create an empty one, if you don’t yet have one) to the JSON
   format. You can then see the format in a text editor.
 * Unfortunately, I don’t know a way to directly convert from CSV to JSON, sorry.
   Your best chance is a custom script/program.
 * Regards,
    Tobias
 *  Thread Starter [manishmiscellenaous87](https://wordpress.org/support/users/manishmiscellenaous87/)
 * (@manishmiscellenaous87)
 * [7 years, 8 months ago](https://wordpress.org/support/topic/creating-custom-table-ids/#post-10621072)
 * Hi
 * Thank you for the reply. Will surely try.
 * Best wishes.
 * Regards
    Manish
 *  Plugin Author [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * (@tobiasbg)
 * [7 years, 8 months ago](https://wordpress.org/support/topic/creating-custom-table-ids/#post-10621276)
 * Hi,
 * no problem! I hope it helps!
 * Best wishes,
    Tobias

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Creating custom Table ids’ is closed to new replies.

 * ![](https://ps.w.org/tablepress/assets/icon.svg?rev=3192944)
 * [TablePress - Tables in WordPress made easy](https://wordpress.org/plugins/tablepress/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/tablepress/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/tablepress/)
 * [Active Topics](https://wordpress.org/support/plugin/tablepress/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/tablepress/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/tablepress/reviews/)

## Tags

 * [table-id](https://wordpress.org/support/topic-tag/table-id/)

 * 5 replies
 * 2 participants
 * Last reply from: [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * Last activity: [7 years, 8 months ago](https://wordpress.org/support/topic/creating-custom-table-ids/#post-10621276)
 * Status: resolved