Sorting Algorithm Visualizer
Step-by-step visualization of 11 sorting algorithms (bubble, cocktail, selection, insertion, shell, gnome, merge, quick, heap, counting, radix) with live comparison / swap / array-access counters, custom array input, presets (random, reversed, nearly-sorted, few-unique), play / pause / step-forward / step-back controls, side-by-side race mode, per-algorithm complexity + stability cards, and shareable URLs. 100% client-side.
Step-by-step visualization of 11 sorting algorithms (bubble, cocktail, selection, insertion, shell, gnome, merge, quick, heap, counting, radix) with live comparison / swap / array-access counters, custom array input, presets (random, reversed, nearly-sorted, few-unique), play / pause / step-forward / step-back controls, side-by-side race mode, per-algorithm complexity + stability cards, and shareable URLs. 100% client-side. Everything runs locally in your browser — your data never leaves your device.
How to use
- Enter your input in the tool above.
- Adjust any options to your preference.
- Use the Copy or Download buttons to save the result.
- Everything happens locally — your data never leaves your browser.