\
Written by Jennifer Walsh. Reviewed for technical accuracy by Shubham Dixit, Independent Expert in Email Forensics and Data File Conversion.
Shubham is an independent external reviewer and not an employee of PCDOTS.
Quick answer. A DBX file is an old Outlook Express mailbox, and the attachments are encoded inside its messages rather than sitting there as loose files. To get them out you open the DBX with a free viewer and save them by hand, export the mail to EML first, or run a tool that pulls every attachment across a folder of DBX files at once. Outlook Express is not required.
On this page
What a DBX file actually is?
A DBX file is a mailbox from Outlook Express, the email client that came with Windows up to XP. Each folder was stored as its own file, so a typical old profile has an Inbox.dbx, a Sent Items.dbx and one file per folder you created. If you have inherited a pile of these from an old computer, that is what they are, whole folders of email frozen in a format Microsoft retired years ago.
The first thing to know is reassuring. Your attachments are still in there. Every photo, PDF and document that arrived by email is preserved inside the DBX. The catch is purely in how they are stored, which the next section explains, because it is the reason a simple copy and paste does not work.
Attachments are not loose files in the DBX. They are encoded inside the messages.
“An attachment in a mailbox is not a file sitting beside the email, it is text encoded inside the message itself, usually as base64, which is why opening the raw mailbox and hoping to drag a photo out never works. Something has to parse the message and decode that block back into the original file. With Outlook Express DBX there is a second consideration, these are old and often fragile files, so the practical test of any method is whether it can still read a mailbox that has been sitting on a failing drive for fifteen years.” Shubham Dixit, Email Forensics reviewer (draft, pending approval)
Why you cannot just open it and copy?
It is tempting to think you could open a DBX in a text editor and pull the attachments out. You cannot, and it is worth understanding why, because it tells you what a working method actually has to do.
An attachment is not stored as a separate file tucked inside the mailbox. When the email arrived, the attachment was converted into a long block of plain text, a scheme called MIME encoding, and that text was folded into the message body. So inside the DBX there is no photo.jpg to copy, there is a wall of characters that represents it. Getting the real file back means decoding that block, which is a job for software that understands the format. That is the whole reason you need a viewer or an extractor rather than Windows Explorer, and it is also why, contrary to what some guides claim, you do not need Outlook Express itself at all.
Free ways to get the attachments out
If you only have a few attachments to rescue, you do not have to pay for anything.
Open the DBX in a free viewer. A free DBX file viewer reads the old mailbox without Outlook Express, shows the messages, and lets you open one and save its attachment to disk the normal way. For a handful of files this is the quickest route and it costs nothing.
Export the mail to EML first. Some free DBX readers can save each message as an EML file. Once your mail is a set of EML files, any mail application, Windows Mail, Thunderbird or an EML viewer, opens them and lets you save the attachments, since EML is a modern well supported format. This is a good middle step if you also want the emails themselves, not just the attachments.
Use Outlook Express if it still runs. If you happen to have an old Windows XP machine that still boots, Outlook Express can open its own DBX files and save attachments directly. It is rarely worth keeping such a machine alive just for this, but if it is already there, it is a free option.
Free routes handle a few files. A tool is for volume and for fragile mailboxes.
Extract every attachment in bulk
Saving attachments one at a time is fine for a few, and miserable for a mailbox with thousands of messages. When you need every attachment out of one or many DBX files at once, a dedicated tool does the whole job in a pass. The PCDOTS DBX Converter loads your DBX files, decodes the messages, and saves out every attachment together, keeping them organised, on your own PC with nothing uploaded. Its real strengths here are volume and reach, a whole folder of mailboxes in one run, and the ability to read old files a casual viewer may stumble on. There is a free version to try on your own files first.
The bulk route, for whole mailboxes rather than a few files.
Here are the steps with the screens.
Step 1. Install and run the tool on your Windows PC, then open the menu.

Step 2. Go to Email Data Files, choose DBX files, and load your files or a whole folder.

Step 3. Preview the mail, then open the Extract menu and choose Attachments.
Step 4. Pick a destination folder and click Save. The tool decodes the messages and writes out every attachment.
If it is the addresses inside the mail you need rather than the files, there is a separate guide to extract email addresses from DBX files, and one on importing DBX files into Outlook if you would rather move the whole mailbox across.
If the DBX file is damaged
One thing worth expecting with these files. DBX is an old format with a known weak spot, mailboxes could corrupt as they grew large, and many surviving files have been sitting on ageing drives for well over a decade. So it is common for an old DBX to be partly damaged.
If a viewer refuses to open a file, or opens it but shows only some of the messages, the file is probably damaged rather than the tool being at fault. This is the situation where a more robust extractor earns its place, since reading past the damaged parts of an old mailbox to recover what is still intact is exactly the hard bit that a simple reader cannot manage. If one method shows nothing, it is always worth trying another before assuming the attachments are gone.
The methods compared
Match the route to how much you have and what state it is in.
| Method | Best for | Good to know |
|---|---|---|
| Free DBX viewer | A few attachments, free | Save each one by hand |
| Export to EML | Mail plus attachments, free | Any mail app then opens them |
| DBX extractor | Whole mailboxes or damaged files | Bulk, and reads fragile DBX |
Frequently asked questions
How do I extract attachments from a DBX file?
Open the DBX in a free viewer and save each attachment, export the messages to EML and save them from any mail app, or run a DBX extractor to pull every attachment across a folder at once. Outlook Express is not needed.
Can I extract DBX attachments without Outlook Express?
Yes, and usually you have to, since Outlook Express only ran on Windows XP and earlier. A modern DBX viewer or extractor reads the file directly without it.
Why can I not just open the DBX and copy the attachment?
Because the attachment is not a loose file inside the mailbox. It is encoded as text within the message, so it has to be decoded by software that understands the format before it becomes a usable file again.
Can I extract attachments from many DBX files at once?
Yes. A dedicated extractor loads a whole folder of DBX files and saves out every attachment in one run, which is far quicker than opening each mailbox by hand.
My DBX file will not open, what now?
It is probably damaged, which is common with these old files. Try a more robust extractor, since reading past the damaged parts to recover the intact messages is exactly what a basic viewer cannot do.
Is a free method enough?
For a few attachments, yes. A free viewer or an EML export handles small jobs well. A paid tool is about bulk and about reading old or damaged files that free readers choke on.
Your attachments are not trapped
An old pile of DBX files can look like a dead end, but the attachments inside them are perfectly recoverable and you do not need the software they came from. For a few files, a free viewer opens the mailbox and lets you save what you need. For a whole archive, or for files that have degraded over the years, an extractor pulls every attachment out in one pass and copes with the fragile ones. Either way, the photos and documents locked in those old mailboxes can come back out and live as ordinary files again.