PHPackages                             rokde/wordpress-to-markdown - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Framework](/categories/framework)
4. /
5. rokde/wordpress-to-markdown

AbandonedArchivedProject[Framework](/categories/framework)

rokde/wordpress-to-markdown
===========================

A cli application to convert wordpress backup xml into markdown files for posts and pages

1.0.1(7y ago)26MITPHPPHP ^7.1.3

Since Sep 2Pushed 7y ago1 watchersCompare

[ Source](https://github.com/rokde/wordpress-to-markdown)[ Packagist](https://packagist.org/packages/rokde/wordpress-to-markdown)[ RSS](/packages/rokde-wordpress-to-markdown/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (2)Dependencies (3)Versions (3)Used By (0)

Wordpress to Markdown Converter
===============================

[](#wordpress-to-markdown-converter)

[![Latest Stable Version](https://camo.githubusercontent.com/c9ee9efc00eda5677ea4b1509a4e82b1bd147e26983b7542f9d007f5d56cad10/68747470733a2f2f706f7365722e707567782e6f72672f726f6b64652f776f726470726573732d746f2d6d61726b646f776e2f762f737461626c652e737667)](https://packagist.org/packages/rokde/wordpress-to-markdown) [![Latest Unstable Version](https://camo.githubusercontent.com/59997b805671a313b31a664259c2ae8afb90fe8696835d13c180537ffd633e68/68747470733a2f2f706f7365722e707567782e6f72672f726f6b64652f776f726470726573732d746f2d6d61726b646f776e2f762f756e737461626c652e737667)](https://packagist.org/packages/rokde/wordpress-to-markdown) [![License](https://camo.githubusercontent.com/6ef1d1c9ed376653ccc1d53548fc1ea3c988ab71007f38ddf7293f114b36ddf6/68747470733a2f2f706f7365722e707567782e6f72672f726f6b64652f776f726470726573732d746f2d6d61726b646f776e2f6c6963656e73652e737667)](https://packagist.org/packages/rokde/wordpress-to-markdown) [![Total Downloads](https://camo.githubusercontent.com/90b9f90d9986299abf9ed154a280191b35bbca1aae149bdef073053fc6a5bcce/68747470733a2f2f706f7365722e707567782e6f72672f726f6b64652f776f726470726573732d746f2d6d61726b646f776e2f646f776e6c6f6164732e737667)](https://packagist.org/packages/rokde/wordpress-to-markdown)

This application is based on [Laravel Zero](https://laravel-zero.com/), a version of laravel optimized for command line usage.

---

Documentation
-------------

[](#documentation)

This is a command line tool for converting a wordpress backup xml file into a bunch of markdown files for posts and pages (and other types).

Installation
------------

[](#installation)

You have two options. Install it globally into your system and make sure the binary `wordpress-to-markdown` is within your `$PATH` variable.

The other way is to install it as your project dependency (like phpunit for example).

```
composer require rokde/wordpress-to-markdown

```

Then you can run `vendor/bin/wordpress-to-markdown` within your project.

Usage
-----

[](#usage)

Give your wordpress source xml file and the target folder the converter shall store the converted files.

```
wordpress-to-markdown convert path/to/your/wordpress.xml path/to/store/markdown/

```

You can force the writing process with the flag `--force`.

Modifying the file extension of your created files is also supported with the option `--extension`. Default is `md`.

Changing the date format or make more folders then th default behaviour does is supported too. Give your date format with the option `--format` and give one of the [possible values](https://secure.php.net/manual/en/function.date.php#refsect1-function.date-parameters). You can also use `/` to make directories. Default is `Y-m-d`.

This setting will only be used for blog posts. Pages and other types do not use any date formatted string in their resulting filename.

That´s it.

License
-------

[](#license)

Wordpress to Markdown Converter is an open-source software licensed under the [MIT license](https://github.com/rokde/wordpress-to-markdown/blob/master/LICENSE.md).

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community4

Small or concentrated contributor base

Maturity58

Maturing project, gaining track record

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~0 days

Total

2

Last Release

2806d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/4946056?v=4)[Robert Kummer](/maintainers/rokde)[@rokde](https://github.com/rokde)

---

Tags

clilaravellaravel-zeromarkdownwordpresswordpress-backupcliconsoleframeworklaravelwordpresslaravel-zeromarkdown

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/rokde-wordpress-to-markdown/health.svg)

```
[![Health](https://phpackages.com/badges/rokde-wordpress-to-markdown/health.svg)](https://phpackages.com/packages/rokde-wordpress-to-markdown)
```

###  Alternatives

[laravel-zero/laravel-zero

The Laravel Zero Framework.

3.9k43.3k3](/packages/laravel-zero-laravel-zero)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
