# LeetCode format

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

Canonical page: [https://chrome-stats.com/d/leetcode-format](https://chrome-stats.com/d/leetcode-format)

## Overview

- **ID:** `leetcode-format`
- **Platform:** Firefox
- **Type:** Firefox add-on
- **Status:** Available
- **Publisher:** Madhur Ahuja
- **Category:** web-development,appearance
- **Daily users:** 25
- **Rating:** 1.00 / 5 (1 ratings)
- **Version:** 1.0
- **Last updated:** 2021-01-10
- **First published:** 2021-01-09
- **Size:** 1.76 MB
- **Data as of:** 2026-09-06
- **Store listing:** [Firefox Add-ons Store](https://addons.mozilla.org/firefox/addon/leetcode-format/)
- **Website:** [https://github.com/madhur/leetcode-format-chrome-extension/issues](https://github.com/madhur/leetcode-format-chrome-extension/issues)

## Description

LeetCode Format is a Firefox add-on that enhances the LeetCode code editor by adding a Format code button. It allows users to easily format their code using the powerful Prettier code formatter. Supported languages include Java, JavaScript, and TypeScript.

## Rankings

- #22,349 — Overall
- #11 — format
- #11 — leetcode
- #96 — code
- #156 — codes
- #194 — qr code

## Permissions and access

### Content script matches

- `*.leetcode.com`

## Safety

- **Risk impact:** Low risk impact
- **Risk likelihood:** Moderate risk likelihood

### Analysis details

- Injects scripts into web pages, which may alter or extract site contents, resulting in a substantial risk.
- This extension has low user count. Unpopular extensions may not be stable or safe.

> Some risk analysis details are omitted from this free response. [Upgrade to view the full analysis](https://chrome-stats.com/pricing).

## Similar extensions and apps

- [Code Formatter](https://chrome-stats.com/d/web-code-formatter) — 25 users, 5.00 / 5
- [Format with Prettier](https://chrome-stats.com/d/format-with-prettier) — 24 users
- [Prettier Now](https://chrome-stats.com/d/prettier-now) — 13 users
- [Toggle LeetCode Syntax Highlighting](https://chrome-stats.com/d/leetcode-syntax-highlighting) — 5 users
- [Enhancer for Leetcode](https://chrome-stats.com/d/leetcodeenhancer) — 8 users, 5.00 / 5
- [Pro Debug](https://chrome-stats.com/d/pro-debug)
- [Boost Performance](https://chrome-stats.com/d/boost-performance)
- [LC Contest Helper](https://chrome-stats.com/d/lc-contest-helper) — 1 users
- [Code Highlighter](https://chrome-stats.com/d/code-highlighter) — 1 users, 5.00 / 5
- [Code Fmt](https://chrome-stats.com/d/code-fmt) — 5 users
- [Dev Helper code](https://chrome-stats.com/d/dev-helper-code)
- [Leetcode Enhancer](https://chrome-stats.com/d/leetcode-enhancer) — 294 users, 4.43 / 5

---

Source: [Chrome-Stats](https://chrome-stats.com/d/leetcode-format)
