GOAT Lab
GOAT Lab › Developer Tools › AlgoViz

Algorithm Visualizer (AlgoViz)

AlgoViz is a free, browser-based tool that animates how algorithms work. It covers 93 algorithms across 9 categories, with step-by-step playback, adjustable parameters, and per-algorithm complexity tables, in 5 languages.

  • Free
  • No sign-up
  • Works offline

What is AlgoViz?

AlgoViz is an interactive algorithm visualizer that animates each step of an algorithm as it runs. It spans 9 categories — sorting, searching, graph, data structures, dynamic programming, probability, machine learning, miscellaneous, and physics — totaling 93 algorithms. It runs entirely client-side, in English, Japanese, Spanish, Chinese, and German.

How does it work?

Pick an algorithm, then use the playback controls — play/pause, step forward, step backward, reset, and a speed slider — to watch each state change. A progress bar shows the current step out of the total. Adjustable parameters let you change the input, and each page lists best/average/worst/space complexity plus pseudocode.

When should I use it?

Use AlgoViz when learning or teaching how an algorithm behaves step by step — for example, comparing Quick Sort vs. Merge Sort, watching Dijkstra explore a graph, or seeing K-Means cluster points. It is built for study, classroom demos, and interview prep rather than running algorithms on your own production data.

At a glance

Total algorithms93 across 9 categories
CategoriesSorting, Searching, Graph, Data Structures, DP, Probability, ML, Misc, Physics
Largest categoryMiscellaneous (22 algorithms)
Sorting algorithms14, incl. bubble, quick, merge, heap, radix, shell, counting
Graph algorithms12, incl. Dijkstra, BFS, DFS, A*, Prim, Kruskal, PageRank
Playback controlsPlay/pause, step forward/back, reset, speed slider, step counter
Complexity shownBest / average / worst / space (e.g. Bubble Sort: O(n), O(n²), O(n²), O(1))
Languagesen, ja, es, zh, de (default English, no prefix)

Frequently asked questions

How many algorithms does AlgoViz cover?

93 algorithms across 9 categories: sorting (14), searching (2), graph (12), data structures (6), dynamic programming (7), probability (9), machine learning (7), miscellaneous (22), and physics (12).

What languages is AlgoViz available in?

Five: English, Japanese (日本語), Spanish (Español), Simplified Chinese (简体中文), and German (Deutsch). English is the default and uses no path prefix; others use /ja, /es, /zh, /de.

Can I control the animation speed and step through manually?

Yes. Playback controls include play/pause, step forward, step backward, reset, and a speed slider. A progress indicator shows the current step out of the total number of steps.

Does AlgoViz show time and space complexity?

Yes. Each algorithm page lists best, average, worst-case, and space complexity. For example, Bubble Sort shows best O(n), average O(n²), worst O(n²), and space O(1), alongside pseudocode and use cases.

Does AlgoViz need an account or a server?

No. It is a free, fully static React app that runs entirely in your browser — no account, no login, and no server-side processing required.

Related tools

  • DevRef Hub
  • FORMATS
  • DesignPlayground

Part of GOAT Lab — 24 free, browser-based science, engineering and developer tools. No sign-up. · About · Privacy · Terms · Contact