An utility tool that converts Wordpress backup file into Ghost backup file.


Convert wordpress XML export data (WordPress eXtended RSS or WXR) into a JSON file that ghost can import

##System requirement

  • requires nodejs 0.10 or higher


  • Run npm install -g wp2ghost

alternatively, you could

  • Download zip package and unpack.
  • Run npm install in package folder


  • Go to Wordpress - Tools - Export All, get the backup.xml
  • Run wp2ghost backup.xml, a 'backup.xml.json' file will be created in the same directory
    • run node wp2ghost backup.xml only if you used the second installation method
  • Go to http://your-ghost-blog.com/ghost/debug, import the generated json file

##Known Issues

  • This tool may break some of the contents inside <code> and <pre> blocks, use as your own risk