👻 DeckMedic · Infrastructure Engine · Tool 1 of 3

Ghost Layout Exorcist
Remove Unused Masters & Kill PPTX Bloat

Your deck is 50 MB because it carries ghost Slide Masters — unused templates silently imported when you copy-paste slides or open AI-generated decks. This tool traces every slide's master chain and surgically removes every ghost master and its orphaned layout children — without touching a single slide pixel.

🔒

Zero upload

File stays on your device

Instant

No server round-trip

🆓

Free

No sign-up required

📦

50–80% smaller

Typical size reduction

Unused MastersLayouts PrunedTheme CleanupRels Fixed50–80% SmallerSafe Delete
👻

Drop your .pptx to exorcise ghost masters

or click to browse

Scans for unused slide masters carrying hidden high-res backgrounds

🔍 Why is my deck so large?

When you copy-paste slides from other decks, PowerPoint silently imports their Slide Master templates — complete with high-res background images. A 10-slide deck can carry 4–8 ghost masters in ppt/slideMasters/ that no slide actually uses. This tool surgically removes them and their layout children while preserving 100% of your actual slide content.

What this tool actually does

← drag handle to compare  ·  left = before  ·  right = after →

✕ Before
  • Masters in deck2 (only 1 used by slides)
  • Ghost masterslideMaster2.xml (Legacy Theme)
  • Ghost filesslideMaster2 + layout2 + theme2
✓ After
  • Masters in deck1
  • Ghost masterdeleted from ZIP
  • Files removedslideMaster2 + layout2 + theme2
📖 How it works · ppt/slideMasters/ anatomy · When to use

Step-by-step process

  1. 1

    Trace every slide's master chain

    Reads every ppt/slides/_rels/slideN.xml.rels to find each slide's Slide Layout reference. Then traces each layout's rels to find its parent Slide Master. Builds the complete set of all masters actually in use.

  2. 2

    Identify ghost masters and orphaned layouts

    Any slideMaster not in the used set is a ghost. Any slideLayout not reachable from any slide's chain is orphaned. Both are queued for deletion with all associated theme files.

  3. 3

    Surgically delete and update manifests

    Each ghost part is removed — the file is deleted from the ZIP, its [Content_Types].xml Override is cleaned, and its entry is purged from ppt/_rels/presentation.xml.rels. Your slides are 100% untouched.

The ppt/slideMasters/ archive anatomy

ppt/presentation.xml ← lists all sldMasterIdLst entries
ppt/slideMasters/slideMaster1.xml ← master in use ✓
ppt/slideLayouts/slideLayout1.xml
ppt/theme/theme1.xml ← brand colours
ppt/slideMasters/slideMaster2.xml ← ghost master ← DELETED
ppt/slideLayouts/slideLayout8.xml ← orphaned layout ← DELETED
ppt/theme/theme3.xml ← 12 MB background ← DELETED

When to use Ghost Layout Exorcist

  • After copy-pasting slides from multiple decks — each source deck imports its full master template silently.
  • When an AI-generated deck (Copilot, Gamma, Beautiful.ai) is bloated — they routinely embed 4–8 unused master variants.
  • Before uploading to SharePoint, Drive, or emailing — reduces transfer size and load time significantly.
  • When the deck is over 20 MB despite having no high-res images — ghost masters are the hidden cause.

Frequently Asked Questions

Why is my PowerPoint file so large after compressing all images?

Image compression alone cannot fix a bloated PPTX if the real cause is unused Slide Masters. When you copy-paste slides from other decks or open AI-generated presentations, PowerPoint silently imports their entire Slide Master templates — including high-resolution background images, custom fonts, and layout children stored in ppt/slideMasters/. A 10-slide deck can carry 4–8 ghost masters that no slide actually uses. These invisible templates are the hidden cause of 50–80% of PPTX file bloat.

What is a Slide Master in PowerPoint and why does it add file size?

A Slide Master is the root template in the OOXML hierarchy stored in ppt/slideMasters/. Each master has child Slide Layouts in ppt/slideLayouts/ and typically references a Theme file in ppt/theme/ containing brand colors, fonts, and background graphics. A single unused master can carry multiple high-resolution background images and theme graphics totalling 5–20 MB. Ghost Layout Exorcist detects which masters are actually referenced by your slides, removes all unused masters and their layout children, and cleans the presentation.xml manifest and Content_Types.xml registry.

Will removing unused masters affect my slide content or formatting?

No. The tool only removes masters that are not referenced by any slide. Every slide in your deck is analysed through its Slide Layout → Slide Master chain before anything is deleted. Masters that are actively in use — even by a single slide — are completely preserved. Slide content, text, images, animations, speaker notes, and formatting are 100% untouched.

How does Ghost Layout Exorcist determine which masters are unused?

The tool reads ppt/slides/_rels/slideN.xml.rels for every slide to find its Slide Layout rId. It then reads ppt/slideLayouts/_rels/slideLayoutN.xml.rels to resolve the parent Slide Master. Masters not found in this set are unused. Layouts not reachable by any slide's layout chain are also orphaned. Both are safely removed using safeDeletePart(), which removes the file, cleans its Override from [Content_Types].xml, and removes the .rels registration from ppt/_rels/presentation.xml.rels.

Is this safe to use on client decks and confidential presentations?

Yes. All processing runs in a Web Worker inside your browser using JSZip. Your PPTX is never uploaded to any server. The file is processed entirely in local memory and discarded when you close the tab. No analytics on file content are collected.

How much size reduction can I expect?

Results depend on how many ghost masters are present and the size of their embedded theme graphics. Decks built by copy-pasting slides from multiple sources — or generated by AI tools like Microsoft Copilot, Gamma.app, or Beautiful.ai — routinely carry 3–10 unused masters. A 50 MB deck can drop to 8–15 MB after exorcism. Decks built from scratch with a single master template will show little or no reduction.

Who uses Ghost Layout Exorcist

🤖

AI Deck Users

ChatGPT, Gamma, Beautiful.ai, and Pitch all generate decks using multi-master template libraries. A single AI-generated deck can carry 8–12 unused Slide Masters. Ghost Layout Exorcist removes all of them in one pass.

🏢

Agency Designers

Agencies receive client-provided PPTX templates that have accumulated years of unused masters. Before delivering a client asset, designers run Ghost Layout Exorcist to produce a lean, clean file.

🎓

Teachers & Trainers

Educational decks built from school or corporate templates routinely exceed 50 MB due to embedded font families in unused masters. Ghost Layout Exorcist brings them under email attachment limits.

💼

Consultants

MBB and Big 4 consultants assembling client deliverables from multiple source decks end up with bloated files from merged Slide Masters. Ghost Layout Exorcist strips the redundant masters before client delivery.

Ghost Layout Exorcist vs alternatives

Feature DeckMedic Ghost Layout Exorcist Manual Slide Master delete Save as PPTX (workaround)
Detects unused masters automatically ✅ Yes — XML analysis❌ Manual visual scan❌ Does not remove
Preserves used Slide Masters ✅ Yes — only removes unused⚠️ Easy to delete wrong one✅ Yes
No file upload ✅ All in-browser✅ Desktop — no upload⚠️ Cloud PPTX editors upload
Works on AI-generated decks ✅ Yes⚠️ Tedious — many masters❌ No reduction
Reports how many removed ✅ Full audit result❌ No count❌ None
Free ✅ Unlimited✅ Free (with Office)✅ Free

Infrastructure Engine · You might also need

🔄

Mac→PC Asset Fixer →

Convert TIFF, WMF, EMF images to PNG so your Mac-built deck opens correctly on every Windows PC without red X placeholders.

🗄️

Media Extractor →

Browse and download every embedded image, video, and audio file from the ppt/media/ vault at original quality.