Skip to main content
CMSquestions

How To Export Content From Drupal

IntermediateQuick Answer

TL;DR

Drupal content can be exported via JSON:API (enabled by default in Drupal 9+), the Views Data Export module for CSV/XML exports, the Migrate API for structured exports, or direct database queries. JSON:API is the most modern approach, providing access to all entity types with their fields and relationships. For complex sites with paragraphs, media entities, and custom field types, you may need to combine multiple export methods.

Key Takeaways

  • JSON:API: modern, RESTful access to all Drupal entities and relationships
  • Views Data Export: configurable CSV/XML exports for specific content types
  • Migrate API: Drupal's built-in migration framework can export to various formats
  • Direct database: access to raw data for complex or custom field structures