Photograph of a beach in Manduria Italy

Like their real-world counterparts, web development “sandboxes” are environments for play, exploration and discovery. Sandboxes take code entered into one window and present it live in another, avoiding the back-and-forth cycle of developing a page, saving it, and refreshing it in a browser. A sandbox is a safe zone: it is nigh-impossible to break anything while coding within its borders. It is also a place of cooperation: sandboxes usually feature save-states, allowing others to view, share and contribute to your work. Sandboxes are the online equivalent to a hallway whiteboard in an office of codemonkeys: places to congregate and communicate snippets of code. Sandboxes are not direct development environments, and do not make web pages themselves… but they can be vital tools for making your pages better.

A catalog of web development sandboxes in 2012 would include:

  • Dabblet, created by Lea Verou: probably my current favorite sandbox. CSS is entered in one window, HTML in another, and the result is shown in a third. CSS is assumed to be prefix-free, so there’s no need to include proprietary code to run your examples. Dabblet code may be saved and referenced anonymously and stored in github.
  • CodePen might be thought of as Chris Coiyer's response to dabblet, with many of the same features but a little more sharing and community focus.
  • CodePlayerLiveWeave is a friendly HTML, CSS and JavaScript sandbox >with support for many JavaScript frameworks.
  • JSFiddle: a sandbox, offering a multitude of libraries and frameworks. Being a JavaScript environment, there are rather more options than dabblet, making it overkill if you are only working in CSS and HTML.
  • JSBin is an another JavaScript sandbox, with a strong support for different frameworks.
  • SQL Fiddle is a handy sandbox for , Oracle, PostgreSQL and MS SQL.
  • CSSDesk: one of the first sandboxes I was aware of; perhaps a little aged at this point, but still useful.
  • The Code Player is a new entrant, with a live playback of HTML, JavaScript CSS code.

Have a sandbox you prefer that is not listed here? Share it in the comments!

Enjoy this piece? I invite you to follow me at to learn more.