keep-sorted logo

keep-sorted Free Download for Windows 10/11

A language‑agnostic formatter that sorts lines between two markers in a file.

Developer Tools FreeOpen source Version 0.11.0
Works on:Win 11Win 10

Version 0.11.0 · 64-bit · Installer · official file from github.com

About keep-sorted

keep-sorted is a small command‑line utility that automatically orders lines of code or data that are enclosed by special marker comments. It works with many programming languages and file types without needing language‑specific knowledge.

The tool looks for comment markers such as // keep-sorted start and // keep-sorted end (or similar markers in other languages). All lines between the markers are treated as a block and are sorted alphabetically. This helps keep import lists, module declarations, array initializers, and other ordered sections tidy and consistent. keep-sorted can handle simple line continuations, more complex blocks with balanced symbols, and custom prefix grouping. It can be run directly on files or used in a pre‑commit hook to enforce sorting automatically.

Key features

  • Sorts lines between start and end markers in many programming languages.
  • Supports simple line continuations based on indentation.
  • Handles complex blocks with balanced braces, brackets, parentheses, and quotes.
  • Allows custom prefix groups to define continuation lines.
  • Can be used in pre‑commit hooks for automatic sorting on each commit.
  • Provides a lint mode to check files without modifying them.
  • Works as a standalone Windows executable.

Download keep-sorted for Windows

All files come directly from the official keep-sorted project on github.com. Codehimblog does not host or change them. Most PCs need the 64-bit installer.

FileSize
Program file (EXE) · 64-bitkeep-sorted_windows_amd64.exe4.7 MB

Previous versions

Only needed if the latest version does not work for you. Older versions may miss security fixes.

VersionReleasedWindows download
0.10.020 August 2026Download (4.7 MB)
0.9.130 June 2026Download (4.7 MB)
0.9.03 June 2026Download (4.7 MB)
0.8.05 March 2026Download (4.7 MB)
0.7.120 August 2025Download (4.7 MB)
0.7.015 August 2025Download (4.7 MB)
0.6.18 April 2025Download (4.7 MB)

How to install keep-sorted

  1. Click the "Download keep-sorted" button on this page. Your browser saves keep-sorted_windows_amd64.exe (4.7 MB), usually to your Downloads folder.
  2. Double-click the downloaded file to start keep-sorted. It runs without installation; if Windows shows a security prompt, check that the file came from this page before you continue.
  3. Optional: move the file to a folder of its own (for example Documents\keep-sorted) so it is easy to find next time.

Windows compatibility

WindowsStatus
Windows 11Supported
Windows 10Supported
Windows 8.1Not supported
Windows 8Not supported
Windows 7Not supported

Frequently asked questions

Is keep-sorted free to use?

Yes, it is open source and free.

Is it safe to run on my code?

It only reorders lines inside the marked sections and does not modify other parts of the file.

How do I get updates?

Download the latest Windows executable from the project's release page.

Can I uninstall it?

Simply delete the keep-sorted.exe file.

Does it need an internet connection?

No, the program runs locally without requiring internet access.

License

Free and open source (Apache-2.0). You can use it for free at home and at work.

More Developer Tools software and similar free programs for Windows.

All Developer Tools software