# How to import posts in CSV format?

**URL:** https://meta.discourse.org/t/how-to-import-posts-in-csv-format/77107
**Category:** Migration
**Created:** [January 2, 2018, 11:33am UTC](https://meta.discourse.org/t/how-to-import-posts-in-csv-format/77107 "2018-01-02T11:33:44Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![Hamza\_Ahmed](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/hamza_ahmed/32/120361_2.png) [@Hamza\_Ahmed](https://meta.discourse.org/u/Hamza_Ahmed)
#### Post date: [January 2, 2018, 11:33am UTC](https://meta.discourse.org/t/how-to-import-posts-in-csv-format/77107/1 "2018-01-02T11:33:45Z")

</div>

Can I import new posts using CSV format? any importer plugin or something? Thanks

---

<div class="post-metadata">

### Author: ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)
#### Post date: [January 2, 2018, 12:43pm UTC](https://meta.discourse.org/t/how-to-import-posts-in-csv-format/77107/2 "2018-01-02T12:43:59Z")

</div>

Most importers read sql databases.

You need at least one table for users and another for topics and posts. You generally also want to import categories.

What are you importing from?

---

<div class="post-metadata">

### Author: ![JKBaseer](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jkbaseer/32/80471_2.png) [@JKBaseer](https://meta.discourse.org/u/JKBaseer)
#### Post date: [September 17, 2018, 8:20pm UTC](https://meta.discourse.org/t/how-to-import-posts-in-csv-format/77107/3 "2018-09-17T20:20:03Z")

</div>

As he is not replied and I do have the same question.

I just have csv where it has all the questions asked from a offline event that need to be uploaded in this forum. how do we that?

---

<div class="post-metadata">

### Author: ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)
#### Post date: [September 17, 2018, 8:26pm UTC](https://meta.discourse.org/t/how-to-import-posts-in-csv-format/77107/4 "2018-09-17T20:26:56Z")

</div>

You’ll need to write a custom importer to read the stuff and put it in Discourse. It looks like [discourse/script/import\_scripts/zendesk.rb at main · discourse/discourse · GitHub](https://github.com/discourse/discourse/blob/master/script/import_scripts/zendesk.rb) reads CSV files.

If that’s not an answer and you have a budget, you can post in #Marketplace, or read [Redirecting…](https://www.literatecomputing.com/discourse-migration/) and contact me

---

<div class="post-metadata">

### Author: ![JKBaseer](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jkbaseer/32/80471_2.png) [@JKBaseer](https://meta.discourse.org/u/JKBaseer)
#### Post date: [September 19, 2018, 8:26pm UTC](https://meta.discourse.org/t/how-to-import-posts-in-csv-format/77107/5 "2018-09-19T20:26:08Z")

</div>

> [@pfaffman](#):
>
> Discourse Migration – Literate Computing

I have checked the Zendesk script and it doesn’t look simple to me at first sight. Anyway I will come to the marketplace side when i become rich 😃

For now, need to go through other scripts. Thanks Jay!

---

<div class="post-metadata">

### Author: ![adamprocter](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/adamprocter/32/120116_2.png) [@adamprocter](https://meta.discourse.org/u/adamprocter)
#### Post date: [January 14, 2020, 12:17pm UTC](https://meta.discourse.org/t/how-to-import-posts-in-csv-format/77107/6 "2020-01-14T12:17:04Z")

</div>

I have a CSV from another discourse forum of all my contributions to that forum and I would like to import that into a thread or category on my own discourse forum, is that at all possible ?
