WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a massive WXR file im trying to import into wordpress. I run out of memory when i try to import as one file, so I'm thinking of how i can split the big file into smaller files programatically and if anyone had a script to do this

share|improve this question
For reference: Tyler asked this on the wp-hackers mailing list too. – Jan Fabry May 28 '11 at 9:33
up vote 2 down vote accepted

Googling for "split wxr file" returned several results, including

Haven't tried any of these, but the comments look positive.

share|improve this answer
Your link to the ".Net Splitter for WXR files" was swiped wholesale from my site. I've read this person's blog a bit and he seems to have a bad habit of stealing other people's posts and putting them on his site as his own. It would be one thing if he was quoting and linking to my site, but he's currently hosting an old (and buggy) version of my WXR Splitter (v. 1.0). The latest version is currently 1.51 as of this writing. I would prefer if you didn't link to him. thanks. – Pretzel Jan 11 '12 at 18:05
@pretzel - I've changed the link to point to your site. – anu Jan 11 '12 at 23:06
Thanks, man. Much appreciated! :) – Pretzel Jan 19 '12 at 17:55

I wrote a WXR Splitter for Windows (.NET) - it gets approx. 10 downloads per day. People generally like it.

share|improve this answer
You have a spam problem on your blog :-) – Paolo Feb 27 '13 at 11:54

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.