Developer Playground

Write code. See it run.

A free live editor for HTML, CSS and JavaScript, plus a regex tester. Your code runs in a sandbox and stays in your browser.

Code playground

Edit the tabs, and the preview updates on its own. New to coding? Start with the Coding Academy.

Examples:

Regex tester

Test regular expressions with live highlighting. The pattern runs in your browser.

    More developer tools

    Already on GM, so nothing is duplicated here.

    Base64 & URL Encoder

    Encode and decode Base64 (UTF-8 and URL-safe) and URL text, or turn a file into a Base64 data URL.

    Color Picker & Converter

    Pick a colour and convert it between HEX, RGB, HSL, HSV and CMYK. Pick from an image, get palette ideas.

    Password Generator

    Create strong random passwords with your choice of length and characters, and check an existing password's strength.

    Word Counter

    Count words, characters, sentences and paragraphs, with reading time, speaking time and top keywords.

    Getting the most from a browser playground

    A playground lets you try HTML, CSS and JavaScript and see the result immediately, with nothing to install. It is ideal for testing an idea, learning a feature, or debugging a small piece of code.

    Work in small steps. Change one line, look at the result, and then continue. When something breaks, undo the last change first.

    Practical tips

    • Start with a simple HTML structure before you add style or scripts.
    • Use the browser console for errors and for printing values while you debug.
    • Copy your work out before you close the tab if you want to keep it.
    • Learn the basics step by step in the Academy.