YAML Sort installs statistics
By Pascal Reitermann · VS Code Marketplace · Programming Languages
This VS Code extension exposes the possibility to sort, format and validate yaml files.
YAML Sort has 230,166 recorded installs on VS Code Marketplace, an increase of 0.5% over the past 30 days, ranking #1382 of 2,515 tracked listings.
Rating: 4.76 / 5 from 21 ratings
About YAML Sort
YAML Sort
YAML Sort extends VS Code to sort, format and validate YAML files.
Preview

💬 Commands
This extension contributes the following commands:
| Command | Description |
|---|---|
Custom Sort 1 | This command will sort a given YAML with custom order. If some of the keys of customSortKeywords_1 will be found at the top level of the YAML, these will be put at the beginning of the YAML file (in the given order). You can use this e. g. to sort Kubernetes configmaps. |
Custom Sort 2 | Same as Custom Sort 1 |
Custom Sort 3 | Same as Custom Sort 1 |
Format Document | Formats a yaml document without sorting it. Also possible using the shortcut (⇧⌥F on Mac). |
Recursively sort YAML files | Sorts all .yaml and .yml files in a directory and all its subdirectories. |
Sort YAML | Sorts a given YAML. You can either sort the whole YAML document or sort only a selection of the text. |
Validate YAML | Validates a given YAML. |
⚙️ Configuration
This extension contributes the following settings:
| Setting | Description | Default |
|---|---|---|
emptyLinesUntilLevel | When bigger than 0, will add a new line before each keyword on level n. | 0 |
customSortKeywords_1 | List of keywords for Custom Sort 1 | ["apiVersion", "kind", "metadata", "spec", "data"] |
customSortKeywords_2 | List of keywords for Custom Sort 2 | - |
customSortKeywords_3 | List of keywords for Custom Sort 3 | - |
extensions | Extensions to be processed with command Recursively sort YAML files | ["yaml", "yml"] |
forceQuotes | When true, all non-key strings will be quoted even if they normally don't need to. | false |
indent | Indentation width in spaces | 2 |
lineWidth | Maximum line width for YAML files | 500 |
locale | Language whose sort order should be used | en |
noArrayIndent | When true, will not add an indentation level to array elements. | false |
noCompatMode | When true, don't try to be compatible with older yaml versions. Currently: don't quote "yes", "no" and so on, as required for YAML 1.1 | false |
notifySuccess | When true, will notify on successfully performed tasks. | true |
quotingType | Strings will be quoted using this quoting style. If you specify single quotes, double quotes will still be used for non-printable characters. | ' |
schema | Schema to use. Possible values are HOMEASSISTANT_SCHEMA, CLOUDFORMATION_SCHEMA, CORE_SCHEMA, DEFAULT_SCHEMA, FAILSAFE_SCHEMA, JSON_SCHEMA. | DEFAULT_SCHEMA |
sortArrays | When true, will sort arrays | false |
sortOnSave | When 0,… |
Description from the VS Code Marketplace listing.
- formatting
- sorting
- yaml
- yml
README badge
Show your rank in a README or on your website. The badge updates automatically.
Charts
Images: 30d · 1y · all time · 1600×900 dark
Adoption over time
7/30/90-day growth
Ranking history
Ratings over time
Listing placement
Listing placement
Listing placement
Filled points are observed values; hollow points come from Internet Archive snapshots of the listing page. Dashed segments span periods with no observations — values between points are not interpolated.
Each band is one page of 20. Installs on a linear scale. Placement is projected from installs, so it can differ from the marketplace's own sort order. Hover a dot to see the listing.
Recent observations
Full history (50)Similar VS Code Marketplace Programming Languages plugins
All 20 YAML Sort alternativesData source
Install counts, average rating, and rating counts come from the public Visual Studio Marketplace gallery API. Installs are cumulative and exclude updates.
Listing: https://marketplace.visualstudio.com/items?itemName=PascalReitermann93.vscode-yaml-sort. First seen Oct 16, 2026; last successful collection Dec 6, 2026. See the methodology.