ASHISH KANAJARIYA0%Preparing your experience
Skip to content

WordPress Playground and Studio: The Fastest Way to Test and Build WordPress Sites Locally

Developer workspace with two screens used for local WordPress development

Not long ago, setting up a local WordPress environment meant installing a web server, a database and the right PHP version, then hoping everything played nicely together. Today you can open a browser tab and have a complete, logged-in WordPress site running in a few seconds. That is the magic of WordPress Playground, and it has quietly become one of the most useful tools in the WordPress ecosystem.

In this guide I explain what WordPress Playground is, how it works, and how to use it in the browser, from the command line and through Studio, the free desktop app built on the same technology. I also share the practical workflows I use to test plugin updates, check PHP compatibility and try new WordPress releases before they reach client sites.

What Is WordPress Playground?

WordPress Playground is an open-source project that runs WordPress entirely in a JavaScript environment, such as your web browser or Node.js. Visit playground.wordpress.net and a fresh WordPress site boots right away, with no hosting account, no local PHP installation and no database server.

How does it work?

Playground uses PHP compiled to WebAssembly, so the PHP runtime itself runs inside the browser or Node.js. Instead of MySQL, it uses SQLite through the official SQLite database integration, which stores the whole database in a single file. The result is a real WordPress installation that behaves like the one on your server, just running in a very different place.

Where you can run it

  • In the browser: at playground.wordpress.net, perfect for quick tests and demos.
  • From the command line: with the Playground CLI, ideal for developing plugins and themes against your local files.
  • In your code editor: through the Visual Studio Code extension.
  • As a desktop app: inside Studio, which adds persistent sites and a friendly interface.

You have probably used Playground already without knowing it: the “Live Preview” button on many plugin pages in the WordPress.org directory opens the plugin inside Playground so you can try it instantly.

Laptop displaying the WordPress logo on a blue surface
A complete WordPress site can now boot inside a browser tab. Photo by Deng Xiang on Unsplash.

Getting Started in the Browser

Open playground.wordpress.net and you are logged in as an administrator on a brand-new site. From the settings panel you can choose the WordPress version, including beta releases, and the PHP version. You can also enable network access when a plugin needs to reach external services, and switch the site language.

Useful URL options

You can configure a site directly through the URL, which is great for sharing a reproducible setup with a colleague. For example, adding ?php=8.3&wp=latest selects the PHP and WordPress versions, and adding &plugin= followed by a plugin slug from the WordPress.org directory installs that plugin automatically. The documentation lists every supported option.

Saving your work

By default, a Playground site is temporary: refresh the page and you start fresh, which is exactly what you want for quick experiments. When you want to keep a site, Playground offers options to store it in the browser or, in supported browsers, in a folder on your computer. You can also export the site as a zip file and import it again later.

New developer tools: terminal and email inbox

Playground keeps getting better for debugging. A Dev Tools dock now includes a terminal that runs PHP and WP-CLI commands against the live Playground site, and a new Email tool captures messages sent through wp_mail() and displays them in the browser. That makes it easy to check notification emails without configuring a mail catcher. Interactive or long-running terminal commands are not supported, and the email tool only sees mail sent through the standard sendmail path rather than SMTP or API-based providers. The October 2026 developer roundup has the details.

Blueprints: Repeatable Sites in a Single JSON File

Blueprints are where Playground really shines. A Blueprint is a JSON file that describes how a site should be set up: which WordPress and PHP versions to use, which plugins and themes to install, which options to set and which page to open first. Anyone who loads the Blueprint gets exactly the same site.

Here is a simple example that logs you in, installs Yoast SEO from the plugin directory and sets the site title:

{
  "$schema": "https://playground.wordpress.net/blueprint-schema.json",
  "landingPage": "/wp-admin/",
  "preferredVersions": {
    "php": "8.3",
    "wp": "latest"
  },
  "steps": [
    { "step": "login", "username": "admin" },
    {
      "step": "installPlugin",
      "pluginData": {
        "resource": "wordpress.org/plugins",
        "slug": "wordpress-seo"
      }
    },
    {
      "step": "setSiteOptions",
      "options": { "blogname": "My Test Site" }
    }
  ]
}

You can load a Blueprint by adding it to the Playground URL, by pointing Playground at a Blueprint file hosted online, or by passing it to the CLI. Other steps let you install themes, run PHP code, run WP-CLI commands, import content and more. The Blueprints documentation lists every step with examples.

Great uses for Blueprints

  • Plugin demos: show potential users your plugin preconfigured with sample content.
  • Bug reports: share a link that reproduces an issue in one click.
  • Workshops and teaching: give every student an identical starting point.
  • Client previews: present a theme with demo content before building the real site.

Using the Playground CLI for Plugin and Theme Development

If you build plugins or themes, the Playground CLI is a fantastic lightweight development server. With Node.js installed, open your plugin folder in a terminal and run:

npx @wp-playground/cli@latest server --auto-mount

The --auto-mount option detects whether the current folder is a plugin, a theme or a full wp-content directory and mounts it into a fresh WordPress site. Edit your files and refresh the browser to see changes. You can also choose specific PHP and WordPress versions, mount folders manually, or pass a Blueprint to prepare the site. Run the command with --help to see all options for your installed version.

This is my favourite way to experiment with new APIs. For example, it is the quickest place to try the interactive block from my WordPress Interactivity API guide, or to register and test custom abilities as described in my article on the WordPress Abilities API and MCP Adapter.

Studio: Playground on Your Desktop

Studio is a free, open-source desktop app for macOS and Windows created by the WordPress.com team. It is powered by WordPress Playground, so it does not need Docker, Apache, Nginx or MySQL. What it adds is a polished interface for managing multiple persistent local sites.

Highlights include:

  • One-click sites: create a new local WordPress site in seconds and choose its PHP and WordPress versions.
  • Developer-friendly: open any site in your code editor, terminal or file manager, and use WP-CLI without a separate installation.
  • Shareable previews: create a temporary online preview to show a client or teammate your local work.
  • Import and sync: import site backups and, for supported hosts, sync sites between local and live environments.
  • Command line and AI assistance: recent versions include a Studio CLI for scripting common tasks and a built-in assistant.

Other excellent local tools exist too, and many developers happily use Docker-based setups or apps such as LocalWP. Studio’s strength is speed and simplicity, which makes it especially friendly for designers, content teams and anyone who wants a local site without configuration.

WordPress Add Plugins screen open on a computer monitor
Test plugin updates in a disposable site before touching production. Photo by Justin Morgan on Unsplash.

Practical Workflows I Use Every Week

1. Test a plugin before installing it on a client site

Before recommending a new plugin, I open it in Playground, explore its settings and check what it adds to the front end. It takes a minute and keeps client sites clean. Combined with good update habits, this is one of the simplest ways to reduce risk, a topic I cover in my article on protecting your site from plugin vulnerabilities.

2. Check PHP compatibility

Planning a PHP upgrade? Spin up the same plugins and theme on the target PHP version and click through the important pages with debugging enabled. My guides on the best PHP version for WordPress and PHP 8.5 features for WordPress developers explain what to look for.

3. Try beta releases early

Selecting the beta version in Playground is the easiest way to help test WordPress before release. With WordPress 7.2 in its beta and release candidate phase, now is a great time to check your themes and plugins. My WordPress 7.2 features overview lists what to test.

4. Reproduce and share bugs

When a support question needs a reproducible example, I build a short Blueprint that recreates the setup and share the link. The person helping me sees the issue immediately, and nobody has to guess about versions or configuration.

5. Prototype client ideas

For quick layout or pattern ideas, I build in Studio, then share a preview link. It keeps early experiments far away from the production site.

Playground, Studio or a Traditional Local Setup?

With so many options available, it helps to match the tool to the job. Here is how I decide:

  • Browser Playground is my choice for anything quick and disposable: trying a plugin, checking a block, reproducing a bug or showing someone an idea. Nothing to install, nothing to clean up.
  • Playground CLI is ideal when I am actively developing a plugin or block theme and want my local files mounted into a fresh WordPress site, often with a Blueprint that adds test content.
  • Studio is the right fit for longer-lived local projects, especially when I want a visual dashboard, several sites side by side, preview links for clients or a quick way to open a site in my editor.
  • A container-based or traditional stack remains valuable when a project must mirror a specific production server exactly, for example a particular MySQL version, object caching service or custom server modules.

These tools complement each other nicely. Many developers use Playground for daily experiments and a production-like staging server for final checks before deployment.

From Local Experiment to Live Site

A test site is only useful if what you learn reaches production safely. This is the simple path I follow:

  1. Experiment locally in Playground or Studio until the plugin, theme change or update behaves as expected.
  2. Write down the exact steps, or better, capture them in a Blueprint, so the change is repeatable.
  3. Keep code in version control and deploy theme or plugin changes from there rather than editing files on the server.
  4. Run a final check on staging that matches your live hosting, especially for database-heavy features.
  5. Back up the live site, then deploy, and verify key pages, forms and checkout immediately afterwards.

This routine takes a little discipline at first, but it quickly becomes second nature. It also gives you a calm, predictable process for updates, which clients appreciate as much as the work itself.

Limitations to Keep in Mind

Playground is impressive, but it is designed for development, testing and demos rather than hosting live websites. Keep these points in mind:

  • Different database engine: SQLite behaves very slightly differently from MySQL, so plugins that run custom SQL queries should also be tested on a MySQL environment before release.
  • Network access: features that call external APIs need networking enabled, and some server-level behaviour is simulated.
  • PHP extensions: the most common extensions are available, but very specialised ones may not be.
  • Storage choices: remember to save or export a browser site you want to keep.
  • Large sites: very large databases and media libraries are better suited to a traditional staging server.

Tips to Get the Most from Playground and Studio

  1. Keep a folder of Blueprints for your common setups, such as “blog with SEO plugin” or “store with sample products”.
  2. Version your Blueprints with your code so every contributor starts from the same environment.
  3. Turn on debugging in test sites to catch notices and deprecations early.
  4. Use the terminal tool for quick WP-CLI checks instead of clicking through screens.
  5. Treat Playground as disposable: experiment freely, then throw the site away.

Frequently Asked Questions

Is WordPress Playground free?

Yes. Playground is a free, open-source project, and Studio is a free, open-source desktop app.

Can I host a live website on Playground?

No. Playground is built for development, testing, learning and demos. For a live site, use regular WordPress hosting.

Do I need to know how to code?

Not at all. The browser version and Studio work without any coding. Blueprints and the CLI are optional extras for people who want automation.

Is my data private?

A browser Playground site runs on your own device. Still, use sample data rather than real customer data when testing, which is good practice for any test environment.

Conclusion

WordPress Playground has changed what “setting up a test site” means. In the browser it gives you a disposable WordPress site in seconds. With Blueprints it makes setups repeatable and shareable. With the CLI it becomes a lightweight development server, and through Studio it turns into a friendly desktop environment for everyday local work.

If you have not tried it yet, open playground.wordpress.net today and install a plugin you have been curious about. Then explore the official Playground documentation to build your first Blueprint. It is one of those tools that, once you start using it, you will wonder how you ever worked without it.

Leave a Reply

Your email address will not be published. Required fields are marked *