Skip to content
PluginStats

Better YAML Formatter installs statistics

By kennylong · VS Code Marketplace · Formatters

A better YAML formatter

View on VS Code Marketplace Fresh · Oct 22, 2026

Better YAML Formatter has 228,017 recorded installs on VS Code Marketplace, ranking #1382 of 2,502 tracked listings.

Installs
228,017
Official API · Oct 22, 2026
7-day growth
—
Insufficient history
30-day growth
—
Insufficient history
90-day growth
—
Insufficient history
Rank
#1382
Among tracked VS Code Marketplace listings

Rating: 5.00 / 5 from 4 ratings

About Better YAML Formatter

Better YAML Formatter for Visual Studio Code

A Visual Studio Code extension that provides format support for YAML language.

Frustrated of the builtin formatter with its own option philosophy?

Or you guys comes from devops world where dealing with a lot of yaml everyday like kubernetes, ansible or helm template.

And you have your own prefer style of YAML, e.g., do not indent sequence elements or other customization settings.

This extension is made for you :)

Features

Format correct, consistent and customized yaml text with Better YAML Formatter.

🔥 Watch the demo video 👇

https://github.com/user-attachments/assets/dfdec44b-221f-436d-9d90-413f0c0effe6

Take the k8s yaml for example:

apiVersion: apps/v1
kind: Deployment
metadata:
  name: nginx-deployment
spec:
  selector:
    matchLabels:
      app: nginx
  replicas: 2
  template:
    metadata:
      labels:
        app: nginx
    spec:
      containers:
      - name: nginx
        image: nginx:latest
        ports:
        - containerPort: 80

As you see, the sequence style(containers and ports) in the k8s style yaml has no indent. Each time you play with kubectl, there is no indent. Not to mention some tool like kustomize requires you do that.

Unluckily, the builtin yaml format has its own option philosophy. It always does indent and resists to accept such a customization setting.

It's useless. I have to keep the style manually every time editing yaml files, or you will end up with a non-idiomatic one.

It's tedious. So I create this extension to make life easier.

Extension Settings

This extension contributes the following settings:

  • better-yaml.directives: Whether block sequences should be indented.
  • better-yaml.directives: Include directives in the output. If true, at least the document-start marker --- is always included. If false, no directives or marker is ever included. If null, directives and marker may be included if required.
  • better-yaml.commentString: Change the comment prefix string. By default, empty comment lines are left empty, lines consisting of a single space are replaced by #, and all other lines are prefixed with a #.
  • better-yaml.lineWidth: Maximum line width (set to 0 to disable folding). This is a soft limit, as only double-quoted semantics allow for inserting a line break in the middle of a word.
  • better-yaml.flowCollectionPadding: When true, a single space of padding will be added inside the delimiters of non-empty single-line flow collections.
  • better-yaml.documentOptions.version: The YAML version used by documents without a %YAML directive. Must be '1.1' or '1.2'. Default to '1.2'.

Thanks

Thanks lupengpeng for the icon design. It's great!

Many thanks the following projects:

Without them there wouldn't be this extension.

Throughout the process I learnt a lot and also made some contributions back to them.

Definitely welcome your patches and contributions!

Description from the VS Code Marketplace listing.

  • Ansible
  • CI/CD
  • DevOps
  • Formatter
  • Helm
  • Kubernetes
  • YAML

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

Better YAML Formatter installs on VS Code Marketplace, last 90 days: 228,017 installs as of Oct 22, 2026.Better YAML FormatterInstalls on VS Code Marketplace · Last 90 days228,017installs227.6K227.7K227.8K227.9K228K228.1KJul 24Aug 8Aug 23Sep 7Sep 22Oct 7Oct 22installsobservedarchived (Internet Archive)no observationsOct 16, 2026 – Oct 22, 2026 · 7 observations · Updated Oct…pluginstats.com
Better YAML Formatter installs on VS Code Marketplace, last 90 days: 228,017 installs as of Oct 22, 2026.

7/30/90-day growth

Better YAML Formatter installs growth on VS Code Marketplace: 7-day growth unavailable, 30-day growth unavailable, 90-day growth unavailable.Better YAML FormatterInstalls growth on VS Code Marketplace228,017installs now7-day growthinsufficient historyInsufficient history30-day growthinsufficient historyInsufficient history90-day growthinsufficient historyInsufficient historyGrowth vs. nearest observation to each baseline date · Updated Oct 22, 2026pluginstats.com
Better YAML Formatter installs growth on VS Code Marketplace: 7-day growth unavailable, 30-day growth unavailable, 90-day growth unavailable.

Ranking history

Better YAML Formatter VS Code Marketplace ranking history: currently #1382 (by installs).Better YAML FormatterVS Code Marketplace ranking · by installs · Last 90 days#1382current rank#1379#1380#1381#1382#1383#1384#1385Jul 24Aug 8Aug 23Sep 7Sep 22Oct 7Oct 22rankOct 16, 2026 – Oct 22, 2026 · 7 observations · Updated Oct 22, 2026pluginstats.com
Better YAML Formatter VS Code Marketplace ranking history: currently #1382 (by installs).

Ratings over time

Better YAML Formatter ratings on VS Code Marketplace, last 90 days: 4 ratings as of Oct 22, 2026.Better YAML FormatterRatings on VS Code Marketplace · Last 90 days4ratings3.63.844.24.4Jul 24Aug 8Aug 23Sep 7Sep 22Oct 7Oct 22ratingsobservedarchived (Internet Archive)no observationsOct 16, 2026 – Oct 22, 2026 · 7 observations · Updated Oct…pluginstats.com
Better YAML Formatter ratings on VS Code Marketplace, last 90 days: 4 ratings as of Oct 22, 2026.

Listing placement

All VS Code Marketplace2,502 listings · 126 pages · 1,253 shown · page 70, #2 (overall #1,382)
All VS Code Marketplace: every listing in installs order

Listing placement

Formatters287 listings · 15 pages · page 9, #8 (overall #168)
Formatters: every listing in installs order

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 (7)
Recent installs observations for Better YAML Formatter
Date (UTC)InstallsChange vs. previous
228,017+92
227,925+105
227,820+88
227,732+30
227,702+42
227,660+58
227,602—

Similar VS Code Marketplace Formatters plugins

All 20 Better YAML Formatter alternatives

Data 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=kennylong.kubernetes-yaml-formatter. First seen Oct 16, 2026; last successful collection Oct 22, 2026. See the methodology.