Stable signalUnknownLow-risk permissions
Leetcode format icon

Leetcode format

Adds Format code button on leetcode to format the code using Prettier code formatter

Users5KCurrent public install base
Rating4.2Store average score
Reviews31Public review volume
Manifest versionV3Extension platform version
7-day growth0Net users gained this week
7-day growth rate0%Relative weekly velocity
Preview

Leetcode format Media preview

2 assets
Trend

User growth trend

Review user movement across collected snapshots.

User Growth Over Time

5K5K5K5K5K2026年7月15日2026年7月18日2026年7月21日Latest: 5K
Rating trend

7-day rating trend

View collected rating snapshots from the latest 7-day window to assess rating stability.

7-day rating change

Start
4.19
Latest
4.19
7-day rating change
0.00
4.094.144.194.244.292026年7月15日2026年7月18日2026年7月21日Latest: 4.19
2026年7月15日2026年7月21日
Growth overview

Daily, weekly, and monthly growth

Compare 1-day, 7-day, and 30-day net growth and growth rate.

1-day growthFlat
00%
7-day growthFlat
00%
30-day growthFlat
00%
Technical snapshot

Version, languages, and crawl freshness

Review publication date, version, supported languages, and crawl timestamps.

Version1.9
ManifestV3
Size2.42MiB
Languages1English
Published
Store updated
Last crawled
English
Overview

Product summary

Review the store description, core capabilities, and common use cases.

This Google chrome extension adds the Format button to the LeetCode code editor. Currently supported programming languages are Java, C++, JavaScript, TypeScript and Dart.

Supports LeetCode old and new UI both, including dynamic layout.

Release Notes 1.9:

* Bug fix with dynamic layout

Release Notes 1.8:

* Bug fixes

Reviews

Recent review snapshot

Inspect the latest comments and rating distribution.

Store average score4.2Chrome Web Store aggregate rating, including ratings without synced review text
Synced text average4.0Average computed only from synced review bodies below
Reviews with text26Synced review bodies
Total ratings / reviews31Chrome Web Store public rating/review count

Store average score: 4.2. The bars below are calculated from synced review text only, so they may be empty for extensions that have public ratings but no synced comments yet.

5
15
4
2
3
6
2
1
1
2
Nop Sep2026年3月10日
1

Doesn't cover much languages and it's abandoned

Version 1.9Language en
Harsh Narayan2024年1月19日
5

Great Extension , but can you change the formatting of min and max , because if written in the form of min({a,b,c}) , it puts a , b , c in different lines which looks really weird . Thanks!

Version 1.9Language en
1 helpful · 0 not helpful
Aman malik2024年1月16日
2

The key bindings are not working on Mac

Version 1.9Language en
2 helpful · 1 not helpful
Mayank Yadav2024年1月3日
5

what's the key binding to format the code?

Version 1.9Language en
Aditya Raj2023年12月11日
5

Now it's working for new layout as well. Great Work!

Version 1.8Language en
2 helpful · 0 not helpful
Mike Clarke2023年12月6日
5

@Madhur Ahuja - great job with this, thank you! This does exactly what I was hoping for and fixes my biggest annoyance with leetcode's editor.

Version 1.8Language en
1 helpful · 0 not helpful
Skanda Bhargav2023年11月26日
5

(As of 12/23) Format is not working in the new Dynamic Layout (11/26) Works in the new Dynamic Layout as well

Version 1.8Language en
2 helpful · 0 not helpful
Harsh Kumar2023年10月19日
3

Does not work on Dynamic Layout even after update.

Language en
2 helpful · 1 not helpful
Chirag M R2023年9月21日
3

it is not working in the new leetcode website,

Language en
3 helpful · 0 not helpful
A Google user2023年9月13日
5

Works perfectly and is a lifesaver! Thanks for this extension. It's also open source, so I hope lots of people contribute. One thing, I have Leetcode Premium, and Leetcode recently gave an option to switch to "Dynamic Layout", which lets you move and re-arrange sections. In "Dynamic Layout", the "Format" button no longer appears. I have reverted to "Split View" mode, which is the default layout, and the "Format" button appears again. Just a heads up in case this beta(?) feature rolls out to everyone.

Language en