In case others haven't seen it, I'll still answer your question, Gabriel.
At the bottom right of your InBox, you'll see this:
Download all Private Messages as:
XML | CSV | Text
Just click on whatever format you'd like, and it'll save them off to a file. You can then delete them.