CampusBoxVNIT Nagpur · runs in your browser

Sorting visualizer

Watch bubble, insertion, selection, merge, quick and heap sort work on bars, one step at a time, with what is happening written underneath. Perfect before a DSA viva.

Orange: being compared · Red: swapped or moved · Green: in its final place.

How to use it

  1. Pick an algorithm, or type your own numbers.
  2. Press Play, or Step one move at a time.
  3. Read what happens at each step below the bars.

Common questions

Is Sorting visualizer free?

Yes. Every tool on CampusBox is free, with no sign-up.

Is anything I enter or open uploaded?

No. The tool runs inside your browser, so your files and entries stay on your device.

Does it work without internet?

Yes. After your first visit to CampusBox, the tool opens without a connection.

Type a word to search tools, forms, contacts and campus sections.