Comments Export

Note: exports are designed for backup purposes only and do not follow the same format as our custom XML import format. Exports cannot be re-imported to other Disqus forums.

To export your comments login to your Disqus Admin, then navigate to Tools > Import/Export, and click Export. The export will be sent into a queue and then emailed to the address associated with your account once it's ready.

Exports may not be available for all sites, particularly those of a large size. If you've requested an export file more than twice and still have not received a download link from us, it's likely that an export for your site is currently unavailable.

Export Format (XML)

XML Schema Definitions are available for new-style exports. The current version can be viewed at http://disqus.com/api/schemas/1.0/disqus.xsd

Example output

<?xml version="1.0"?>
<disqus xmlns="http://disqus.com"
        xmlns:dsq="http://disqus.com/disqus-internals"
        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
        xsi:schemaLocation="http://disqus.com/api/schemas/1.0/disqus.xsd
                            http://disqus.com/api/schemas/1.0/internals.xsd"
>

<!--
  Categories must be declared at the top of a file. They only need declared once
  per site, and DISQUS will attempt to validate them against existing data if they
  are not present in the XML.

The `dsq` namespace is for internal usage by DISQUS and tends to hold things such
  as internal identifiers for objects.

- `title` must be unqiue per `forum`
  -->
  <category dsq:id="1">
    <forum>disqusdev</forum>
    <title>Technology</title>
  </category>

<!--
  Threads must be declared after categories, and before posts. They only need declared once
  per site, and DISQUS will attempt to validate them against existing data if they
  are not present in the XML.

The `dsq` namespace is for internal usage by DISQUS and tends to hold things such
  as internal identifiers for objects.

- `id` must be unqiue per `forum`
  -->
  <thread dsq:id="2">
    <id>1</id>
    <forum>disqusdev</forum>
    <category dsq:id="1"/>
    <link/>
    <title/>
    <message/>
    <createdAt>2012-12-12T12:12:12</createdAt>
    <author>
      <name>Baz</name>
      <email>foo@bar.com</email>
    </author>
  </thread>

<!--
  Posts must be declared in a standard tree order. Parents should always exist before
  they are referenced. DISQUS will attempt to validate them against existing data if
  they are not present in the XML.

The `dsq` namespace is for internal usage by DISQUS and tends to hold things such
  as internal identifiers for objects.

- `id` must be unqiue per `forum`
  -->
  <post dsq:id="1">
    <id>2</id>
    <message>Mother Russia</message>
    <thread>1</thread>
    <isSpam>true</isSpam>
    <createdAt>2012-12-12T12:12:12</createdAt>
    <ipAddress>127.0.0.1</ipAddress>
    <author>
      <name>Baz</name>
      <email>foo@bar.com</email>
    </author>
  </post>
  <post dsq:id="2">
    <id>1</id>
    <message>Yo dude</message>
    <parent dsq:id="1">2</parent>
    <thread>1</thread>
    <createdAt>2012-12-12T12:12:12</createdAt>
    <ipAddress>127.0.0.1</ipAddress>
    <author>
      <name>Baz</name>
      <email>foo@bar.com</email>
    </author>
  </post>
  <post>
    <id>3</id>
    <message/>
    <thread dsq:id="2"/>
    <createdAt>2012-12-12T12:12:12</createdAt>
    <ipAddress>127.0.0.1</ipAddress>
    <author>
      <name>Baz</name>
      <email>foo@bar.com</email>
    </author>
  </post>

</disqus>
Ask the Community Contact us

Still need help? Discuss Disqus is our most active place for getting quick help, sharing feedback, and discussing issues with others – a knowledgeable and helpful support team and community are there right now. Our 101 post is the best place to get started.

Make sure to search our Knowledge Base first... your answer might be just a click away!