Angular Online Compiler

About the Angular compiler

Platform for building mobile and desktop apps. Built on VM via Angular CLI. Run Angular code in your browser with no install and no signup — the editor, the input and the output share one screen. Angular is executed by a remote runtime: your code is submitted to it and the output is returned to this page.

Press Run to execute the program, edit it and press Run again, or paste your own code over it. Everything you type stays in the page; the editor caches your work locally so a reload does not lose it.

A Angular example

This is the program the Angular editor opens with — run it as it is, then change it.

import { Component, signal, computed } from '@angular/core';
@Component({
  selector: 'app-root',
  standalone: true,
  template: `
    <div style="font-family: sans-serif; padding: 2rem; max-width: 400px;">
      <h1 style="color: #dd0031;">Angular</h1>
      <p style="color: #666;">Platform for building web applications</p>
      <div style="margin: 1.5rem 0;">
        <p style="font-size: 2rem; font-weight: bold;">{{ count() }}</p>
        <div style="display: flex; gap: 0.5rem;">
          <button (click)="increment()" style="padding: 0.5rem 1rem; background: #dd0031; color: white; border: none; border-radius: 6px; cursor: pointer;">
            Increment
          </button>
          <button (click)="decrement()" style="padding: 0.5rem 1rem; background: #333; color: white; border: none; border-radius: 6px; cursor: pointer;">
            Decrement
          </button>
          <button (click)="reset()" style="padding: 0.5rem 1rem; background: #eee; color: #333; border: none; border-radius: 6px; cursor: pointer;">
            Reset
          </button>
        </div>
      </div>
      <div style="margin-top: 1rem;">
        <p>Doubled: {{ doubled() }}</p>

The editor opens with the full program.

More Web UI Frameworks compilers

Browse all 109 languages — the same editor runs each of them, in the browser or on a shared runner.