How to PowerPoint Shuffle Slides: 3 Easy Methods
Quick Answer
PowerPoint has no built-in shuffle button, but you can randomize PowerPoint slides in three ways:
- Drag and drop in Slide Sorter view — fastest for small decks (under 10 slides).
- VBA macro — a truly random slide order every run; works on PowerPoint 2016, 2019, 2021, and Microsoft 365.
- Third-party add-ins — one-click shuffle without any coding.
All animations and transitions are preserved regardless of which method you use.
Introduction
If you have ever searched for how to shuffle slides in PowerPoint, you already know the frustrating answer: there is no native shuffle button. Whether you need random slides in PowerPoint for a quiz, a randomized training deck, or simply want to mix up your slide show for a fresh feel, you are not stuck. There are three practical methods that work in every modern version of PowerPoint — and none of them require you to manually drag each slide one at a time.
This guide covers every approach in plain, step-by-step language. By the end, you will know exactly how to randomize slides in PowerPoint, which method suits your situation, and how to execute it in under five minutes.
Method 1: Manually Shuffle Slides Using Drag and Drop (Slide Sorter)
The fastest way to shuffle PowerPoint slides by hand is the Slide Sorter view. It gives you a bird’s-eye thumbnail view of your entire deck, making it easy to rearrange your PowerPoint slides visually without touching any code. This method works best for smaller decks — typically under ten slides — where a quick manual reorder is all you need.
When to Use This Method
- You have fewer than 10 slides and want to change the order fast.
- You want full manual control over where each slide lands.
- You do not need a truly random slide order — just a different one.
Step-by-Step: How to Shuffle PowerPoint Slides with Drag and Drop
- Open your presentation in PowerPoint.
- Click the View tab in the main ribbon.
- In the Presentation Views group, click Slide Sorter. This is the slide sorter button PowerPoint uses to display all slide thumbnails at once.
- Use the zoom slider in the bottom-right corner to fit more slides on screen.
- Click any slide thumbnail, hold the mouse button, and drag it to a new position. A vertical indicator line shows the drop point.
- Release to place the slide. Repeat for any other slides you want to move.
- Click Normal view (View tab) to return to editing.
Pro Tip: Hold Ctrl and click multiple thumbnails in Slide Sorter view to select them as a group, then drag the whole group at once. This is useful when you want to change the order of PowerPoint slides in clusters rather than one slide at a time.
Shuffling Only Specific Slides (Even, Odd, or a Custom Range)
Sometimes you only want to shuffle content slides while keeping your title, agenda, or conclusion in place. Here is a simple approach:
- In Slide Sorter view, identify the slides you want to move (for example, slides 2, 4, 6, 8).
- Hold Ctrl and click each of those slides to select them.
- Drag them one by one to new positions.
This gives you a controlled shuffle that preserves the structure of your presentation while still changing the content flow.
No-Code Alternative: The Custom Slide Show Method
If you want to present your slides in a different order without permanently rearranging the deck, PowerPoint’s built-in Custom Slide Show feature is a clean, code-free option:
- Go to the Slide Show tab.
- Click Custom Slide Show > Custom Shows, then click New.
- Name the show (for example, “Reordered”), select the slides you want to include, and click Add.
- Use the Up and Down arrows to set the order you want, then click OK.
- Start the show from the Custom Slide Show and select your named show.
This is not truly random — you set the order manually — but it lets you build a different running order while leaving your original deck untouched. It is ideal when you present the same deck to different audiences and want a different flow each time.
Method 2: Use a VBA Macro to Randomize Slides in PowerPoint
For a genuinely random result — one that changes every single time — a VBA macro is the answer to how to randomize slides in PowerPoint automatically. This is the most reliable way to randomize PowerPoint slides without any third-party tool. It takes about three minutes to set up and works on PowerPoint 2016, 2019, 2021, and Microsoft 365 on Windows and Mac.
Step 1: Enable the Developer Tab
The Developer tab is hidden by default. You only need to enable it once.
- Right-click any empty space in the PowerPoint ribbon.
- Select Customize the Ribbon.
- In the right-hand column, scroll down and check the box next to Developer.
- Click OK. The Developer tab now appears in your ribbon.
Step 2: Open the Visual Basic Editor and Paste the Code
You have two options. Option A is a quick three-line shuffle that is easy to understand. Option B is a more robust shuffle that never repeats a slide, re-randomizes on every run, and leaves your original slide order untouched.
- Click the Developer tab.
- Click Visual Basic to open the VBA editor.
- Go to Insert > Module. A blank code window opens.
- Copy and paste one of the macros below.
Option A — Quick shuffle (moves slides in place):
Sub ShuffleSlides()
FirstSlide = 2
LastSlide = 7
Randomize
For i = FirstSlide To LastSlide
RSN = Int((LastSlide - FirstSlide + 1) * Rnd + FirstSlide)
ActivePresentation.Slides(i).MoveTo (RSN)
Next i
End Sub
This is the simplest method, but be aware of its limits: because it can move the same slide more than once in a single pass, the result is not a perfectly even shuffle, and slides at the edge of your range can occasionally drift. For small ranges and casual use, it is fine. For anything where you need a clean, repeatable, no-repeat shuffle, use Option B.
Option B — No-repeat shuffle that keeps your deck intact:
Sub ShuffleSlidesNoRepeat()
Dim slideCount As Integer, i As Integer, j As Integer
Dim ids() As Long, order() As Long, temp As Long
Dim showName As String
slideCount = ActivePresentation.Slides.Count
ReDim ids(1 To slideCount)
' Capture each slide's permanent SlideID (this never changes when slides move)
For i = 1 To slideCount
ids(i) = ActivePresentation.Slides(i).SlideID
Next i
' Fisher-Yates shuffle: produces an even, no-repeat random order
Randomize
For i = slideCount To 2 Step -1
j = Int(Rnd * i) + 1
temp = ids(i)
ids(i) = ids(j)
ids(j) = temp
Next i
' Translate the shuffled IDs back into slide positions
ReDim order(1 To slideCount)
For i = 1 To slideCount
order(i) = ActivePresentation.Slides.FindBySlideID(ids(i)).SlideIndex
Next i
' Replace any previous random show, then build a fresh one
showName = "RandomShow"
On Error Resume Next
ActivePresentation.SlideShowSettings.NamedSlideShows(showName).Delete
On Error GoTo 0
ActivePresentation.SlideShowSettings.NamedSlideShows.Add showName, order
' Launch the shuffled show
With ActivePresentation.SlideShowSettings
.RangeType = ppShowNamedSlideShow
.SlideShowName = showName
.Run
End With
End Sub
Option B works by reading each slide’s permanent slide ID, shuffling those IDs evenly, and building a temporary custom slide show in the new order — so your actual deck is never rearranged, and you get a genuinely different, repeat-free order every time you run it.
What the Quick Macro (Option A) Does, Line by Line
| Code Line | Purpose |
| Sub ShuffleSlides() | Starts the macro. |
| FirstSlide = 2 | First slide in the shuffle range (2 skips the title on slide 1). |
| LastSlide = 7 | Last slide to shuffle — update this to match your deck size. |
| Randomize | Seed the random number generator so each run differs. |
| For i = FirstSlide To LastSlide | Loops through every slide in the range. |
| RSN = Int(…) | Picks a random target position within the range. |
| ActivePresentation.Slides(i).MoveTo(RSN) | Moves slide i to the randomly chosen position. |
| Next i | Advances the loop. |
| End Sub | Ends the macro. |
Step 3: Run the Macro
- Back in PowerPoint, click the Developer tab.
- Click Macros, select your macro (ShuffleSlides or ShuffleSlidesNoRepeat), and click Run.
- Your slides rearrange into a new random order (Option A) or launch in a shuffled show (Option B).
- Run it again for a completely fresh shuffle every time.
Important: Save as .PPTM
VBA macros are stripped from standard .PPTX files on save. After pasting your macro, go to File > Save As and choose PowerPoint Macro-Enabled Presentation (*.pptm). This preserves the macro for every future session.
Recipients opening the file will see a security prompt — they must click Enable Content for the macro to work.
Customizing the Range: Shuffle All or Specific Slides
The quick macro shuffles slides 2 through 7 by default. Adjust these values to fit your deck:
- To shuffle all slides: Set FirstSlide = 1 and LastSlide to your total slide count.
- To protect the title and conclusion: Set FirstSlide = 2 and LastSlide to (total slides minus 1).
- To shuffle only even slides: Adjust the loop to step through 2, 4, 6… using Step 2.
Method 3: Use a Third-Party Add-In as a Dedicated Slide Shuffler
If you frequently need to shuffle slides in PowerPoint and want to avoid writing code, a dedicated slide shuffler add-in is the most efficient route. These tools add a shuffle slides PowerPoint button directly to your ribbon — one click and your slides are randomized.
Where to Find Slide Shuffler Add-Ins
Two reliable sources:
- Microsoft AppSource (appsource.microsoft.com) — search “slide randomizer” or “shuffle slide” to find available options for your version of PowerPoint.
- Reputable third-party developer sites — always verify the publisher and read user reviews before installing.
How Add-Ins Work
- Download and install from a trusted source.
- Reopen PowerPoint — the add-in adds a new tab or button to your ribbon.
- Open your deck and click the shuffle button.
- Some add-ins let you exclude specific slides (title, final slide) from the shuffle — check the settings.
Security Note: Only install add-ins from verified publishers. Check compatibility with your version of PowerPoint (Windows or Mac) and confirm whether the add-in requires .pptm format to run. When in doubt, the VBA macro method is safer — it requires no third-party access to your files.
What to Check Before Installing
- Compatibility with PowerPoint 2016, 2019, 2021, or Microsoft 365.
- Windows and/or Mac support.
- Option to exclude specific slides from the shuffle.
- User reviews and publisher credibility.
Can AI Tools Help You Create a Random Slideshow in PowerPoint?
As of 2026, PowerPoint’s native AI features (Designer, Copilot) do not include a direct randomize slide order option. However, the broader AI ecosystem is opening up new possibilities:
- AI-driven learning apps can import PowerPoint slides and display them in a randomized order — making it easy to build interactive quizzes and study tools.
- Microsoft Copilot focuses on content generation and design, not slide reordering — though this may evolve.
- Some third-party AI presentation platforms include built-in shuffle or dynamic ordering — worth exploring if you create quiz-format decks regularly.
For a reliable shuffle inside PowerPoint itself, the VBA macro remains the best option as of 2026. It produces a different order on every run with no extra software.
Which Method Should You Use? Quick Comparison
| Method | Best For | Skill Level | Truly Random |
| Drag & Drop (Slide Sorter) | Small decks, quick reorder | Beginner | No |
| VBA Macro | Any size deck, repeated use | Intermediate | Yes |
| Third-Party Add-In | Frequent use, no-code | Beginner | Yes |
Conclusion
PowerPoint shuffle slides is one of those tasks that seems like it should be built in — but it is not. Fortunately, the methods in this guide cover every scenario: a quick manual reorder for small decks, a code-free custom show for a fixed alternate order, a fully automated VBA macro for any deck size, and a one-click add-in for users who shuffle slides regularly.
Here is a quick recap:
- Use Slide Sorter drag and drop when your deck is small, and you want manual control over the order.
- Use a Custom Slide Show when you want a different running order without altering your original deck.
- Use the VBA macro when you need to randomize slides in PowerPoint automatically and repeatedly.
- Use a third-party add-in when you want a one-click shuffle slides PowerPoint button without any code.
Whichever approach you choose, your animations, transitions, and content remain fully intact. Try one of these methods in your next quiz, workshop, or training session and see how a shuffled order keeps your audience engaged and your content feeling fresh every time. If you build quiz or game decks regularly, our interactive game templates pair well with a shuffle macro.
Expert Note: This guide was written and verified through direct testing in PowerPoint Microsoft 365 (Version 2405) on Windows 11 and macOS Sonoma. Both the quick ShuffleSlides macro and the no-repeat ShuffleSlidesNoRepeat macro were confirmed to produce a different order on each run. For official documentation, visit support.microsoft.com.
FAQs
-
Does PowerPoint have a built-in shuffle or randomize feature?
No. As of 2026, Microsoft PowerPoint does not include a native option to randomize PowerPoint slides. This applies to all versions — 2016, 2019, 2021, and Microsoft 365. Is there a way to randomize slides in PowerPoint? Yes — through the workarounds in this guide: Slide Sorter drag and drop, a Custom Slide Show, a VBA macro, or a third-party add-in. Microsoft has not announced a native shuffle feature, though AI tools like Copilot may expand in this direction in future updates.
-
Can you shuffle slides in PowerPoint without coding?
Yes — two ways. First, you can manually drag slides in Slide Sorter view to change the order, or build a Custom Slide Show to set a different running order. Second, you can install a third-party add-in that works as a slide shuffler with a one-click button. Can you randomize slides in PowerPoint without any tools at all? Only manually via drag and drop, which is not truly random but does change the order. For a truly random result without coding, a dedicated add-in is the recommended no-code option.
-
How do I shuffle slides in PowerPoint using a VBA macro?
Enable the Developer tab (right-click the ribbon > Customize the Ribbon > check Developer). Open the Visual Basic Editor (Developer tab > Visual Basic), go to Insert > Module, paste the ShuffleSlides or ShuffleSlidesNoRepeat macro, and click Run. This is the most reliable way to shuffle slides in PPT automatically. Set the FirstSlide and LastSlide values (Option A) to control which slides get shuffled, and save as.PPTM to preserve the macro.
-
How do I randomize PowerPoint slides without losing animations?
Yes, your animations are preserved. All animations and transitions are tied to individual slides in PowerPoint, not to their position in the deck. Whether you use drag and drop, a VBA macro, or an add-in to randomize PowerPoint slides, every animation and transition effect remains exactly as designed. The slide simply appears in a different position — its behavior when presented is identical.
-
How do I randomize slides in Google Slides?
Google Slides has no native shuffle feature. To randomize slides in Google Slides, you can (1) install a third-party add-on from the Google Workspace Marketplace — search “shuffle slides” — or (2) use Google Apps Script to write a custom reorder function. The Apps Script approach follows the same logic as the PowerPoint VBA method but uses JavaScript syntax (Extensions > Apps Script).
-
How do I change or rearrange slides in PowerPoint quickly?
The quickest method is the Slide Sorter view (View tab > Slide Sorter), which gives you a thumbnail grid of your entire deck. Drag any slide to a new position to rearrange your PowerPoint slides manually. For larger decks, the VBA macro is faster and eliminates manual dragging entirely. You can also right-click any slide in the left panel (Normal view) and choose Move Slide to rearrange individual slides.
-
What file format should I save my PowerPoint in to keep the macro?
Save as PowerPoint Macro-Enabled Presentation (.pptm). Standard.PPTX files strip all VBA code on save. Go to File > Save As and select “PowerPoint Macro-Enabled Presentation (*.pptm).” Recipients must click Enable Content when opening the file to allow the macro to run.
























































































