# Sorting Algorithm Visualizer

> Shuffle a bar chart and watch bubble, insertion, or selection sort work through comparisons and swaps step by step, fully in your browser.

[bfotkit](/) Runs in your browserCategories ▾[All tools 307](/en/tools/)[Text tools9](/en/tools/text-tools/)[Image tools27](/en/tools/image-tools/)[PDF tools20](/en/tools/pdf-tools/)[Social media tools97](/en/tools/social-media-tools/)[Security tools8](/en/tools/security-tools/)[Coding tools25](/en/tools/coding-tools/)[CSS tools12](/en/tools/css-tools/)[Color tools6](/en/tools/color-tools/)[Miscellaneous tools103](/en/tools/miscellaneous-tools/)

[All tools ↗](/en/tools/)[EN](/en/tools/sorting-algorithm-visualizer/)[PT](/pt-br/ferramentas/visualizador-de-ordenacao/)[DE](/de/werkzeuge/sortier-visualisierer/)[ID](/id/alat/visualisasi-pengurutan/)[RU](/ru/instrumenty/vizualizator-sortirovki/)

SIMULATORS · BFOTKIT

# Sorting Algorithm Visualizer | BFOTKit

Shuffle a bar chart and watch bubble, insertion, or selection sort work through comparisons and swaps, step by step.

PauseResetSpeedAlgorithmBubbleInsertionSelectionShuffle

The drawing runs entirely in this browser tab. Nothing is uploaded.

GUIDE

## Comparing the three classics

### Bubble sort talks a lot

It compares every neighbor pair, over and over. Long bars take long walks to the right — the most comparisons per element.

### Insertion sort builds a hand

It grows a sorted prefix one card at a time, shifting everything bigger out of the way. Nearly-sorted inputs finish almost instantly.

### Selection sort is steady, not fast

It scans for the minimum and does one swap per pass. Few swaps, many comparisons — a good teaching contrast.

HELP / FAQ

## Sorting questions

### Which algorithm is best?

For tiny arrays all three are fine. Generally insertion beats bubble; both are teaching tools rather than production sorts.

### What do the highlighted bars mean?

Yellow bars are the pair being compared; red flashes mark a swap happening.

### Can I slow it down?

Yes — the speed slider stretches every step out.

### Does it run locally?

Yes — everything runs in this browser tab.

EXPLORE BY CATEGORY · BFOTKIT

## More tools like this

Pick a category to see every tool in it — then open one and discover related tools.

[All tools 307](/en/tools/)[Text tools 9](/en/tools/text-tools/)[Image tools 27](/en/tools/image-tools/)[PDF tools 20](/en/tools/pdf-tools/)[Social media tools 97](/en/tools/social-media-tools/)[Security tools 8](/en/tools/security-tools/)[Coding tools 25](/en/tools/coding-tools/)[CSS tools 12](/en/tools/css-tools/)[Color tools 6](/en/tools/color-tools/)[Miscellaneous tools 103](/en/tools/miscellaneous-tools/)

[Coding toolsPrivate JSON formatter and text cleanup tools↗](/en/tools/private-json-text-cleanup/)[Coding toolsURL Slug Generator↗](/en/tools/url-slug-generator/)[Coding toolsBase64 Encoder/Decoder↗](/en/tools/base64-encoder-decoder/)[Coding toolsURL Encoder/Decoder↗](/en/tools/url-encoder-decoder/)[Coding toolsHTML Encoder/Decoder↗](/en/tools/html-encoder-decoder/)[Coding toolsHAR Sanitizer↗](/en/tools/har-sanitizer/)[Coding toolsJSON Formatter↗](/en/tools/json-formatter/)[Coding toolsJSON Validator↗](/en/tools/json-validator/)

[Browse all tools →](/en/tools/)

[bfotkit](/)[All tools](/en/tools/)[Privacy Policy](/en/privacy-policy/)[Terms & Conditions](/en/terms-and-conditions/)[About Us](/en/about-us/)[Contact Us](/en/contact-us/)

Useful tools. No fuss. © 2026 BFOTKit[bfotkit.com ↗](https://bfotkit.com/)
