CMD in the browser

Can I use Command Prompt online?

Yes — you can practice Command Prompt (CMD) online in your browser with Windows CLI. It is a learning sandbox for the classic C:\> shell, not the full Windows Terminal app on a PC.

Run dir, cd, and cls with guided lessons, then open the sandbox when you want unstructured practice.

Try it now

Try the command

Run dir to see the folder contents.

Build the command
dir
[path]Optional folder or filter like *.txt.
Terminal
C:\Users\User>dir Documents

Real-World Examples

After dir, step into the folder:

Command Prompt
C:\Users\User>cd Documents

Clear the screen before the next command:

Command Prompt
C:\Users\User>cls

Read the full guide on Windows Terminal vs CMD

Common questions

Is this the Windows Terminal app?

No. This site teaches CMD inside your browser. On a real PC you would open Windows Terminal and choose the Command Prompt profile.

Can I practice without a Windows PC?

Yes. Lessons and the sandbox run in any modern browser.

Can I run any .exe here?

No. This is for learning CMD syntax — not running arbitrary Windows programs.

Where do I practice next?

Head to the practice CMD hub or open the free sandbox.

Microsoft Learn references

Try CMD in the browser

Pick a guided lesson or mess around in the sandbox.