# How to convert Ghost posts to Markdown [[Ghost]] posts can be exported using the admin panel, by going to `https://Ghost URL/ghost/#/settings/migration`, clicking on "Export", and clicking on "Export content". This generates a JSON file. To convert the JSON to Markdown, you can use ghost-to-md. Steps: - Install node and npm - Run `npx ghost-to-md <your export json file>` This will create a `ghost-to-md-output` folder containing the Markdown version of all your posts. ## References - Ghost to Markdown tool: https://github.com/hswolff/ghost-to-md