A PDB file is a Palm Database, the storage unit of Palm OS handhelds such as the PalmPilot (1996) and later Palm and Handspring devices. Palm OS had no file system, so everything from address books to e-books lived in these databases, and a PDB file is what you got when you copied one to a PC. E-book collections from roughly 1997 to 2008 are full of them: classics from Project Gutenberg in PalmDoc, purchased eReader titles, web pages saved with Plucker.
First check: is it really an e-book?
The .pdb extension is used by three unrelated formats, and the e-book is now the rarest of them.
- Microsoft Program Database. Debug symbols created by Visual Studio next to an
.exeor.dll. Open the file in a text editor: if the first line readsMicrosoft C/C++ MSF 7.00, it is for developers and debuggers only. Nothing to read or convert. - Protein Data Bank. A plain-text 3D structure of a molecule with lines starting
HEADER,ATOM,HETATM. Open it in PyMOL, Jmol or the free Mol* viewer. - Palm e-book. The first 32 bytes are the book title, and at byte 60 you will see a type and creator code.
What can be inside a Palm PDB
The type and creator code tells you which reader the book was made for:
| Code | Format | Notes |
|---|---|---|
TEXtREAd | PalmDoc (AportisDoc) | plain text, 4 KB records, simple compression saving about 40 % |
PNRdPPrs | eReader (Peanut Press) | formatted text with images; purchased books are DRM protected |
DataPlkr | Plucker | offline web pages with links and images |
zTXTGPlm | zTXT (Weasel Reader) | text with zlib compression, about 70 % smaller |
BOOKMOBI | Mobipocket | usually named .prc or .mobi, see MOBI |
PalmDoc, by far the most common, stores no character encoding. Files were written in whatever code page the author's PC used, which is why accented letters often come out wrong today. One more curiosity: Palm dates count seconds from 1 January 1904, inherited from the Mac.
How to open a PDB e-book today
- Windows, macOS, Linux: calibre reads PalmDoc, eReader (unprotected), Plucker and zTXT. LibreOffice Writer can open PalmDoc directly as a document.
- Android: some readers such as Cool Reader still list PalmDoc support. For everything else, convert to EPUB first.
- iPhone, Kindle, Kobo: no PDB support. Convert to EPUB (or AZW3 for Kindle over USB).
Common problems
"PDB file won't open" in an e-book app
Check the first lines as described above. A debug symbol file or a protein structure will never open in a reader, and no e-book converter can help.
Accented characters are garbled
PalmDoc has no encoding field, and our converter assumes Windows-1252 (Western Europe). Books in Polish, Czech or Russian were usually saved in another code page. In the free calibre app, set the input encoding (for example cp1250 or cp1251) in the conversion settings.
eReader book asks for a name and card number
That is the old eReader DRM. Protected books cannot be converted. Look for the title in your account with the store that sold it, or buy a current EPUB edition.
Converting PDB
Our converter reads PalmDoc and other Palm e-books and turns them into PDF, DOCX, ODT, RTF, TXT, EPUB as well as MOBI, AZW3, FB2 or LRF. Text and chapters survive; Palm-specific bookmarks do not.
Converting to PDB produces a PalmDoc file with plain text only, no images, encoded in Windows-1252. Characters outside that code page are replaced by question marks. Use it only for an old Palm device or an app that reads nothing else. For anything newer, choose EPUB, or PDF to EPUB if you are starting from a PDF.
PDB at a glance
| Origin | Palm OS (Palm, Inc.), 1996 |
|---|---|
| Type | record database used as a container |
| E-book variants | PalmDoc, eReader, Plucker, zTXT, iSilo, Mobipocket |
| Compression | PalmDoc ~40 %, zTXT zlib ~70 % |
| Status | obsolete; Palm moved to webOS in 2009 |
| Same extension | Protein Data Bank, Microsoft Program Database |
Further reading: PDB on the MobileRead Wiki, the wwPDB file format documentation and Microsoft's page on symbol files.