{{Redirect|Trial|the underground structure|Trial Chambers|the variant of spawners found in said structure|Trial Spawner|the item that occasionally comes out of a [[Trial Spawner]]|Trial Key|the block that spits out loot when the player uses a trial key|Trial Vault}}
{{See also|Pocket Edition Demo}}
[[File:Demo Intro.png|thumb|372px|The message displayed upon loading the demo world in ''Java Edition''.]]
[[File:Bedrock Demo Display.png|thumb|width=365x365|The message displayed upon loading the demo world in ''Bedrock Edition''.]]
The '''Demo Mode''' is a demo of ''[[Minecraft]]'' for users who have not purchased the game yet and would like to try it out first without purchasing it.

The demo version of {{JE}} can be played free of charge by logging into the ''[[Minecraft Launcher]]'' with a Microsoft or Mojang Studios account that hasn't purchased the game yet, designed to replace the functionality of the outdated [[PC Gamer Demo]]. This demo version consists of a single [[Seed (world generation)|seed]] that can be played for up to 5 in-game days (1 hour and 40 minutes total).

== Functionality ==
The demo mode can be played by all players regardless of whether they have yet purchased the game. Demo Mode functionally serves to allow the [[player]]s to try out the game before deciding to buy ''Minecraft''. It allows players to play on a single world for a 100-minute (5 [[Daylight cycle|in-game days]]) period before the map is locked and required to be reset.

Custom skins can be applied {{in|bedrock}}, and it is possible to install [[resource pack]]s and [[modification]]s on the ''Java Edition'' demo.

While demo mode does not expire, it comes with certain restrictions as its sole purpose is to allow new players to try out ''Minecraft''.

== Restrictions ==
=== ''Java Edition'' ===
The following restrictions apply when playing the game in demo mode:
*The demo map is preset and always generates with the same seed: <code>-343522682</code>, corresponding to the text seed <code>North Carolina</code>.
**This means that the player '''[[spawn]]''', '''seed''', and '''[[generated structures]]''' are always the same.
*The game is locked to Survival mode and [[commands]] are disabled by default.
**Commands can be enabled and other game modes can be made accessible by using Open to LAN.
*Multiplayer servers are inaccessible, although [[LAN]] multiplayer is allowed, with the limitation that only 1 demo account is allowed on a server (this is because the default ''Minecraft'' name ('Player') cannot be changed).
*The game time is limited to five in-game days (1 hour and 40 minutes real-time or 100 minutes total). After the time runs out, players can still navigate through the world, but their interactions with it are limited. Resetting the demo world also resets the demo timer.
**Changing the in-game time forcibly with commands or external programs such as an NBT editor can reset the timer.
**It is possible to gain (almost) unlimited time in the demo by changing the in-game time to extreme negative values (past the minimum 64-bit integer limit, which is -9,223,372,036,854,655,508). However, the number causes several problems such as hostile mobs behaving passively to players.
***The player can still attack/kill mobs and take damage. Their hunger, saturation, health, and drowning bars work as normal, but they cannot eat anything.
***Breaking any block leads to the block being instantly restored, and placing any block leads to the block being deleted.
***The player can still remove [[boat]]s, but they cannot place them.
***The player can still pick up dropped items.
*"Demo" is displayed in the version notation on the [[title screen]].

=== ''Minecraft Trial'' ===
On 20 December 2018 a Minecraft trial version for Android titled '''''Minecraft Trial''''' was released. However, restrictions from ''Bedrock Edition'', along with some new ones still apply; for example, some blocks and items are removed, including barriers and command blocks (all types). There are also trial versions for {{w|Microsoft Windows|Windows}} and the {{w|PlayStation 4}}.
*[https://xbox.com/games/store/-/9NBLGGH2JHXJ Microsoft Store (Windows)]
*[https://play.google.com/store/apps/details?id=com.mojang.minecrafttrialpe Google Play (Android)]
*[https://playstation.com/games/minecraft PlayStation Store (PlayStation 4)]
It has the following restrictions:
*The time limit is 90 minutes of real-time.
*The player isn't able to play [[multiplayer]], including LAN multiplayer. On the PlayStation 4, split-screen multiplayer is possible.
*The player isn't able to change [[Resource pack|Global Resources]] and [[Add-ons]], but can import custom [[skin]]s.
*The player is restricted to [[Survival mode]].
*The player is restricted from changing '''[[Commands|Cheats]]''' and '''World Options''' parts off.
*The player is restricted from changing '''Trust Player Permissions'''.
*The player is restricted from turning on '''Experiments'''.
*The player is restricted from accessing storage.
*The player cannot change the world seed.
*The player is restricted to Infinite world type.
**There have been 5 demo seeds, which are <code>818010429</code>, <code>29300</code>, <code>1395001428</code>, <code>1537846859</code> and <code>1193926712</code> in 1.20.

== History == 
{{HistoryTable
|{{HistoryLine|java}}
|{{HistoryLine||1.3.1|dev=12w16a|Demo mode added. During the snapshot releases, minecraft.jar must be launched directly with the <code>--demo</code> parameter.}}
|{{HistoryLine||1.3.2|dev=pre|Users can play the demo mode in [[minecraft.net]].{{check version|not mentioned in 1.3.2 page}}}}
|{{HistoryLine||1.7.2|Users can no longer play the demo mode on [[minecraft.net]].}}
|{{HistoryLine||November 26, 2013|link=none|The latest launcher version (1.3.4) allows players who have not yet bought ''Minecraft'' to play the game's demo.}}
|{{HistoryLine||1.12|dev=17w13a|To reflect the addition of advancements, the startup message was changed to say "Check the advancements for hints" instead of "Check the achievements for hints".}}
|{{HistoryLine||1.13|dev=?|Changed world spawn point, possible due to the #minecraft:valid_spawn tag.}}
|{{HistoryLine|pocket alpha}}
|{{HistoryLine||v0.2.1|A demo version was released, but was eventually removed from app stores.}}
|{{HistoryLine||v0.12.0|A demo version was released in the Windows Phone Store for phones with Windows Phone 8.1.}}
|{{HistoryLine|be}}
|{{HistoryLine||December 20, 2018|link=https://www.minecraft.net/en-us/free-trial|A new demo version for ''Bedrock Edition'' called ''Minecraft Trial'' is available for download on Android and Windows devices and PlayStation 4 consoles.}}
|{{HistoryLine|console}}
|{{HistoryLine||xbox=TU1|xbone=CU1|ps3=1.00|psvita=1.00|ps4=1.00|wiiu=none|switch=none|A demo version of the game is available for download.}}
}}

== Trivia ==
*It is possible to play in-game modes other than [[Survival]] in the demo mode by opening up the world to LAN with cheats enabled and executing {{command|gamemode}} command. This does not remove the time limit, or the demo message.{{only|java}}
*{{IN|Java}}, deleting the files "level.dat" and "level.dat_old" causes the timer to reset. Additionally, a new bonus chest spawns on the original spawn point.
*Servers can be started with the <code>--demo</code> flag (this is technically what the launcher does). Everyone who joins the server sees the demo message.
*If one tries to play a demo version before 1.3 from the launcher using a non-premium account, they can play the full version. This is because 1.3 is the version that added the demo mode to ''[[Minecraft]]'', so earlier versions do not have the code necessary to recognize that they are in the demo.
*Typing in "<code>North Carolina</code>" in the seed screen of the full version gives the same world seed as the demo version.{{only|java}}
*If the ''Minecraft'' shortcut and directory is moved to another hard drive, etc., it remains in the demo version, and the previous worlds do not appear.
*It is possible to enter the server list by opening to LAN and enabling cheats, then executing the {{command|kick @s}} command to see the option to go back to the server list. However, servers cannot be joined due to an invalid session. This is because, in demo mode, usernames are not authenticated.
*If a world is downloaded, it can be played by putting the world folder in "saves" and renaming it to "Demo_World". If there is already "Demo_World", it must be first renamed or deleted. There is a chance that the demo timer has decreased or expired. This is due to the timer being used by the world's creator while building the world. Deleting "level.dat" and "level.dat_old" in such situations does not reset the timer.

== Gallery ==
=== {{JE}} ===
<gallery>
Demoshot1.png|The demo world.
Demo menu.png|The title screen in demo mode.
Demoshot3.png|The contents of the bonus chest.
Demoshot4.png|A ruined portal on a beach near an old growth birch forest at demo mode. Notice the timer at the top right. 
Demoshot5.png|A screenshot containing a snowy taiga, a taiga, a frozen river, and a slight part of a village taken in demo mode. Notice the timer again at the top right.
</gallery>

=== {{BE}} ===
<gallery>
Win10Demo1.png|The title screen of the Windows 10 demo.
Win10Demo2.png|The world creation screen in demo mode. A noticeable difference is a demo notice and the "Survival" and "Creative" buttons are disabled.
Win10Demo3.png|The message displayed upon loading the demo world.
Win10Demo4.png|The demo world.
Win10Demo6.png|The pause screen in demo mode.
Minecraft Trial icon.png|''Minecraft Trial'' app icon
</gallery>

=== {{el|pe}} ===
<gallery>
File:PocketDemo Title.png|The title screen of the {{el|pe}} demo.
File:PocketDemo Gamemode.png|The gamemode selection screen in the {{el|pe}} demo, which was immediately shown when Start Game was selected.
File:PocketDemo Inventory.png|The inventory as shown in the {{el|pe}} demo, with unlocked items at the top and locked items at the bottom.
File:Pocket Edition Demo Google Play icon 3.png|''Minecraft — Pocket Edition Demo'' app icon
File:Pocket Edition Lite App Store icon 2.png|''Minecraft — Pocket Edition Lite'' app icon
</gallery>

== See also ==
*[[Demo mode/Locations]]

== Navigation ==
{{Navbox game modes}}
{{Navbox Java Edition versions|general}}
{{Navbox Bedrock Edition versions|general}}
{{Navbox Minecraft|editions}}

[[cs:Zkušební verze]]
[[de:Demo-Modus]]
[[es:Modo demostración]]
[[fr:Mode de démonstration]]
[[it:Modalità demo]]
[[ja:デモモード]]
[[ko:체험판 모드]]
[[lzh:試]]
[[nl:Demo modus]]
[[pl:Tryb demo]]
[[pt:Modo de demonstração]]
[[ru:Демонстрационный режим]]
[[th:โหมดทดลองเล่น]]
[[uk:Демоверсія гри]]
[[zh:演示模式]]
