File types · Explainer

The POT file (.pot)

A POT file is usually a PowerPoint template in the binary format of PowerPoint 97 to 2003: opening it creates a new presentation based on it. This guide explains what's inside one, why it's a PPT with a different name, how to use and convert old templates, the gettext files that share the extension, and has free sample POT files to download for testing.

At a glance

Full name
PowerPoint 97-2003 Template (PowerPoint Binary File Format)
Extensions
.pot; GNU gettext translation templates use the same extension
MIME type
application/vnd.ms-powerpoint, the same as PPT
Kind
Binary: records in streams inside an OLE2 compound file
Owner
Microsoft; documented in the [MS-PPT] open specification
Era
The binary format of PowerPoint 97 to 2003; PowerPoint 2007 replaced it with POTX
Opens with
PowerPoint, LibreOffice Impress (as a new untitled presentation)
Magic number
D0 CF 11 E0 A1 B1 1A E1 (any OLE2 file); a PowerPoint Document stream marks it as PowerPoint
What marks it
Only the extension: our POT and PPT samples are byte-for-byte identical
Macros
Allowed: VBA projects can be stored inside the file

The basics

What is a POT file?

A POT file is a PowerPoint template from the PowerPoint 97 to 2003 era: slide masters, a colour scheme, fonts and often example slides, used as the starting point for new presentations. Using one gives you a new, untitled presentation with a copy of its design and content, and leaves the template unchanged. PowerPoint 2007 replaced it with POTX and POTM, but current PowerPoint and LibreOffice still open POT templates.

Inside, a POT is a PPT presentation, stored in exactly the same binary format, just as a PPS show is.

  • It's binary. Masters, slides and text are records inside an OLE2 compound file, not readable XML.
  • It can contain macros under the same extension, unlike a POTX.
  • Not every .pot file is a PowerPoint template. GNU gettext uses .pot for translation templates; see below.

Anatomy

What's inside a POT file

A POT file is a PPT file: an OLE2 compound file with the presentation as records in a stream called PowerPoint Document. This is our sample-template.pot, a 16:9 template with a themed master and four example slides, part by part, and the proof that it's the same file as sample-template.ppt.

sample-template.pot (hex and records)
$ xxd -l 80 sample-template.pot   (hex columns; first 80 of the 512 header bytes)
00000000: d0cf 11e0 a1b1 1ae1 0000 0000 0000 0000
00000010: 0000 0000 0000 0000 3e00 0300 feff 0900
00000020: 0600 0000 0000 0000 0000 0000 0200 0000
00000030: b900 0000 0000 0000 0010 0000 b800 0000
00000040: 0100 0000 feff ffff 0000 0000 bb00 0000

Streams (root class 64818D10-4F9B-11CF-86EA-00AA00B929E8)
  PowerPoint Document               76,474 bytes
  Pictures                          15,378 bytes
  Current User                          44 bytes
  \x05SummaryInformation               436 bytes
  \x05DocumentSummaryInformation       472 bytes
  \x01CompObj 57 bytes ("MS PowerPoint 97"), \x01Ole 20 bytes

PowerPoint Document stream, top-level records:
offset  record header             record
000000  0f 00 e8 03 4a 08 00 00   DocumentContainer: slide 7680 × 4320
000852  0f 00 f8 03 78 13 00 00   MainMasterContainer (11 in a row)
00d5cc  0f 00 f0 03 40 07 00 00   NotesContainer: the notes master
00dd14  0f 00 ee 03 80 05 00 00   SlideContainer (4 in a row)
01192c  0f 00 f0 03 74 04 00 00   NotesContainer (4, one per slide)
012a36  00 00 72 17 58 00 00 00   PersistDirectoryAtom
012a96  00 00 f5 0f 1c 00 00 00   UserEditAtom

$ cmp sample-template.pot sample-template.ppt && echo identical
identical
  1. 1d0cf 11e0 a1b1 1ae1

    The OLE2 signature

    The first 8 bytes of every Compound File Binary file: PPT, POT, PPS, DOC, DOT, XLS and more. The file command reports "Composite Document File V2 Document" for both samples.

  2. 2b900 0000 · bb00 0000

    Directory and FAT locations

    At offsets 0x30 and 0x4C: the directory starts in sector 0xB9 (185) and the only FAT sector is 0xBB (187). The PPT page explains the header field by field.

  3. 364818D10-4F9B-…

    The class ID

    The class registered for PowerPoint presentations. A template carries the same one, and \x01CompObj says MS PowerPoint 97 as in a PPT.

  4. 4PowerPoint Document · Pictures

    The streams

    The records of the template, and its one picture, the PNG drawn for slide 3.

  5. 5DocumentContainer: slide 7680 × 4320

    The document

    Slide size in master units, 576 per inch: 13.333 × 7.5 inches, 16:9. A template passes its slide size on to every new presentation.

  6. 6MainMasterContainer (11 in a row)

    The masters

    Where a template's value lies: background, the blue band, text styles and colour scheme. LibreOffice wrote one master per layout of the source template; the master records are larger than in our plain PPS sample because each carries the band.

  7. 7SlideContainer · NotesContainer

    Example slides and notes

    Four example slides and their notes pages. They're copied into every presentation made from the template.

  8. 8PersistDirectoryAtom · UserEditAtom

    The edit history

    The persist directory maps object IDs to byte offsets; the UserEditAtom points to it. No record says "template".

  9. 9identical

    The proof

    cmp finds no difference between the POT and the PPT LibreOffice wrote from the same template. The extension is the only thing that makes this file a template.

Under the hood

What makes a POT different from a PPT

As far as we could find, nothing inside the file. Word's binary templates have a template bit in their header (see DOT), but in our PowerPoint files there is no equivalent:

  • Our samples are identical. LibreOffice 24.2 saved the same template with its "MS PowerPoint 97 Vorlage" filter (.pot; *Vorlage* is German for template) and its "MS PowerPoint 97" filter (.ppt). The two files match byte for byte, all 97,280 of them. The same is true of its PowerPoint 97–2003 AutoPlay output (PPS).
  • The class ID, the CompObj stream and the MIME type are the same as in a PPT.
  • The file command reports both as "Composite Document File V2 Document".

So programs go by the extension. In our tests, LibreOffice opened sample-template.pot as a new untitled presentation and sample-template.ppt as an ordinary file, and the same bytes renamed from .ppt to .pot became a template. Renaming is therefore a real conversion for these binary files, unlike POTX and PPTX, where a content type inside the package has to change too.

In LibreOffice

The filter is called MS PowerPoint 97 Vorlage in LibreOffice's configuration and "PowerPoint 97–2003 Template" in its Save As list; it reads .pot files. To write one on a server: soffice --headless --convert-to 'pot:MS PowerPoint 97 Vorlage' template.pptx.

In PowerPoint

Using POT templates in current PowerPoint and LibreOffice

  • Create a presentation from it: double-click the .pot. PowerPoint opens a new, untitled presentation based on it.
  • List it under File, New, Personal: move it to your personal templates folder, Documents\Custom Office Templates on Windows unless File, Options, Save sets another location.
  • Edit the template itself: in PowerPoint, File, Open the .pot. Save it back as POT only if someone still uses PowerPoint 2003 or older.
  • Convert it to POTX: File, Open the .pot, then File, Save As, **PowerPoint Template (*.potx), or PowerPoint Macro-Enabled Template (*.potm)** if it has macros you need.
  • LibreOffice Impress opens a POT as a new untitled presentation, and saves one with File, Save As, PowerPoint 97–2003 Template.

Name clash

Not a PowerPoint file? gettext .pot translation templates

Software that's translated with GNU gettext keeps a PO Template file named domainname.pot: a plain-text list of every translatable string in the program, made by the xgettext tool. Translators copy it to a .po file per language. Open-source projects often have dozens of them, so a .pot file in a source tree is usually a gettext file.

  • To tell them apart, open the file in a text editor. Lines like msgid "Save" and msgstr "" mean gettext; unreadable characters starting with ÐÏ mean PowerPoint.
  • gettext files are edited with a text editor or a translation tool such as Poedit, and processed with msginit, msgmerge and msgfmt. PowerPoint can't open them.
  • The magic number decides: a PowerPoint POT starts with D0 CF 11 E0; a gettext POT is text, usually starting with # comments or msgid "".

Comparison

POT vs POTX, POTM, PPT and OTP

POTPOTXPOTMPPTOTP
What it isPowerPoint 97-2003 templatePowerPoint templateTemplate with macrosPowerPoint 97-2003 presentationOpenDocument presentation template
StructureOLE2 binaryZIP of XMLZIP of XMLOLE2 binaryZIP of XML
What marks a templateThe extension onlyMain part content typeMain part content type(not a template)mimetype entry
MacrosYes, same extensionNoYesYesYes, same extension
Open standardDocumented, not a standardYes (ISO/IEC 29500)Yes (ISO/IEC 29500)Documented, not a standardYes (ISO/IEC 26300)

Convert POT templates to POTX when you next edit them, or to POTM if they really need their macros. A POTX can't carry code.

Troubleshooting

Common POT problems and how to fix them

  • Double-clicking opens a new presentation, not the template. That's what templates do. Use File, Open in PowerPoint to change the template itself.
  • New presentations open in Compatibility Mode. They can, when they come from an old-format template. Convert the template to POTX, or save the new presentation as PPTX.
  • PowerPoint won't open it, or shows lines of msgid. It's a gettext translation template, not a PowerPoint file.
  • Office blocks it. The Trust Center can block old binary file types (File, Options, Trust Center, File Block Settings), often by company policy.
  • Videos in the template don't play. The binary format only links to videos; the video files have to travel with the template.
  • My detector calls it a PPT. It's right about the contents. Only the extension marks a template.

How to

How to open and convert a POT file

  • Convert to POTX with LibreOffice: soffice --headless --convert-to 'potx:Impress MS PowerPoint 2007 XML Template' old.pot, or --convert-to pptx for an ordinary presentation.
  • Convert to PDF: soffice --headless --convert-to pdf old.pot, to see the example slides on any device.
  • Keynote and Google Slides: Apple's list of files Keynote opens names PPTX, and Google's list of convertible files names PPT and PPTX. Rename a copy to .ppt, which is enough for these binary files, or convert it first.
  • Look inside: Python's olefile lists the streams; Apache POI (HSLF) and LibreOffice read the masters and slides.
  • In a browser: browsers can't display POT files, so a link to one downloads it.

Security

Is a POT file safe to open?

A POT can hold VBA macros with nothing in its name to say so, and whatever a template contains is copied into every presentation made from it. Office blocks macros in files from the internet by default; the PPT page explains it. Other risks are the same as for PPT files:

  • Action settings on master shapes or example slides that open web pages or start programs.
  • Embedded OLE objects that run when activated.
  • Parser bugs in the old binary reader, which has needed security fixes over the years. Keep Office updated and Protected View on.

Don't enable macros in a template you didn't expect. If a POT only needs its design, convert it to POTX, which can't carry code. Our samples contain no macros, actions or embedded objects.

Free downloads

Sample POT files to download

Free sample PowerPoint 97-2003 templates for testing uploads, file-type detection and template handling. python-pptx built the template and LibreOffice 24.2 wrote it; we then copied every stream into a fresh compound file without the 440 KB preview bitmap LibreOffice puts in the summary stream, as for our PPT samples. Both files were checked with olefile and converted to PDF. None contains macros.

sample-template.pot · 95 KBDownload

Browsers can't show this kind of file in a page. Download it to open it in the app it belongs to.

What's inside sample-template.pot

Browsers can't preview POT files, so download it and double-click it: PowerPoint or LibreOffice creates a new, untitled presentation from it. These are the parts to look for.

  1. A themed master

    A blue band across the top with the sample address, titles in dark slate, and a colour scheme with a blue first accent. The source is the same as our sample POTX.

  2. Four example slides

    A title slide, bullets, a picture drawn by code and a table, with speaker notes, copied into each new presentation.

  3. 16:9 slide size

    7680 × 4320 master units in the DocumentAtom, passed on to new presentations.

  4. Document properties

    Title "Sample POT file", subject, keywords and the comment "Free sample from 99helpers.com/file-types/pot", in \x05SummaryInformation.

  5. No template marker

    The bytes are the same as sample-template.ppt. Only the .pot extension makes it a template.

All sample POT files

  • 16:9 template with example slides

    sample-template.pot · 95 KB (97,280 bytes)

    A PowerPoint 97-2003 template with a themed master (top band, title colour, colour scheme) and four example slides with notes: title, bullets, a drawn picture and a table.

    • Checking that an app creates a new presentation from a POT
    • Testing conversion of old templates to POTX or PDF
  • The same file as a PPT

    sample-template.ppt · 95 KB (97,280 bytes)

    Saved from the same source with LibreOffice's PowerPoint 97–2003 filter. It's byte-for-byte identical to sample-template.pot; only the name differs.

    • Proving that only the extension makes a template
    • Testing apps that should treat one as a template and the other as a file

Ways to test with them

  • Detection: both files start with D0 CF 11 E0 A1 B1 1A E1 and have the same streams and bytes. Only the extension can tell a detector that the POT is a template.
  • New presentation, not the file: open sample-template.pot in the app you're testing. It should create an untitled presentation; the PPT should open as itself.
  • Upload filters: both share the MIME type application/vnd.ms-powerpoint. If you also accept gettext files, check the first bytes before deciding what a .pot is.
  • Conversion: convert sample-template.pot to POTX and check that the band, title colour and colour scheme end up on the slide master, not on each slide.

Free to use for testing, teaching and demos, commercially or not, with no attribution needed. A link back to this page is always appreciated.

Put it online

Have a POT file? Give it a link.

Drop a PowerPoint 97-2003 template on 99helpers and it gets its own link. Browsers can't display POT files, so visitors download it and open it in PowerPoint or LibreOffice, which create a new presentation from it.

Questions

POT files, frequently asked

What is a POT file?

Usually a PowerPoint 97-2003 template: a binary file that new presentations are based on. In software projects, it's more often a GNU gettext translation template in plain text.

What's the difference between POT and PPT?

Only the extension. Both use the same binary format, and our samples are byte-for-byte identical. PowerPoint creates a new presentation from a .pot and opens a .ppt as itself.

What's the difference between POT and POTX?

POT is the binary template format of PowerPoint 97 to 2003 and can contain macros. POTX is the XML-based template format of PowerPoint 2007 and later and can't; macro templates use POTM.

How do I convert a POT to POTX?

Open it in PowerPoint with File, Open, then File, Save As and choose PowerPoint Template (*.potx). With LibreOffice: soffice --headless --convert-to 'potx:Impress MS PowerPoint 2007 XML Template' file.pot.

How do I edit a POT template?

Start PowerPoint and use File, Open to open the .pot itself; double-clicking it only creates a new presentation.

Is my .pot file a gettext file?

Open it in a text editor. If you see msgid and msgstr lines, it's a gettext translation template. If it's binary and starts with D0 CF 11 E0, it's PowerPoint.

Can a POT file contain a virus?

Yes. A POT can hold VBA macros and embedded objects, and everything in it is copied into new presentations. Don't enable macros in templates you didn't expect.

Related formats

Other file types explained

Keep going

Related

Sources

Last reviewed 27 October 2026.