# codefmt: code formatter and linter

> format and lint javascript, python, and hubl in zapier, n8n, pipedream, make, and hubspot editors. powered by biome and ruff.

Canonical page: [https://chrome-stats.com/d/codefmt?hl=es](https://chrome-stats.com/d/codefmt?hl=es)

## Overview

- **ID:** `codefmt`
- **Platform:** Firefox
- **Type:** Firefox add-on
- **Status:** Available
- **Publisher:** codefmt
- **Category:** web-development
- **Daily users:** 1
- **Version:** 1.6.1
- **Last updated:** 2026-08-20
- **First published:** 2026-03-31
- **Size:** 64 KB
- **Data as of:** 2026-09-07
- **Store listing:** [Firefox Add-ons Store](https://addons.mozilla.org/firefox/addon/codefmt/)
- **Website:** [https://codefmt.dev](https://codefmt.dev/)
- **Privacy policy:** [https://addons.mozilla.org/firefox/addon/codefmt/privacy/](https://addons.mozilla.org/firefox/addon/codefmt/privacy/)

## Description

SUMMARY:

Lint and format JavaScript, Python, and HubL directly inside your automation tool's built-in development window, backed by Ruff and Biome.

DETAILS:

Clean up and check your code right inside automation workflows without needing to bounce over to VS Code or any other editor.

Supported environments:
<ul><li>Zapier (using Code by Zapier steps for Python and JavaScript)</li><li>n8n (for JavaScript and Python code blocks on n8n.cloud, <a href="https://prod.outgoing.prod.webservices.mozgcp.net/v1/c8376d715be195ded904a3de5fb61c48cba6168abb2474ef7f48b3c3454578da/http%3A//n8n.io" rel="nofollow">n8n.io</a>, or self-hosted instances)</li><li>Pipedream (JavaScript and Python code actions)</li><li>Make (JavaScript modules)</li><li>HubSpot Data Hub (custom Python and JavaScript code blocks)</li><li>HubSpot Design Manager / CMS (HubL templates featuring HTML/CSS blocks alongside module.js)</li></ul>
Workflow:
<ul><li>Launch any code workspace on a compatible service.</li><li>Trigger formatting using any of these three methods:</li><li>Click the browser extension toolbar icon for codefmt and choose "format code" to see all lint errors directly in the menu.</li><li>Use the right-click context menu and choose "Format with codefmt" (pure formatting) or "Fix with codefmt" (formatting, safe lint repairs, and import sorting).</li><li>Hit Ctrl+Shift+F (or the Mac equivalent) while focused inside the editor.</li><li>The tool processes your text and updates the editor automatically.</li><li>A popup notification displays the top 3 lint warnings (prioritizing errors), showing the exact line number, rule violated, and message. Hover to pin the alert, or click/press Esc to dismiss it.</li></ul>
Core Capabilities:
<ul><li>Context-aware formatting tailored to each platform's specific execution structure (including handling of global variables, return habits, line lengths, and async envelopes)</li><li>Automatic detection of Python, JavaScript, and HubL (including nested HTML, CSS, and JS contexts within HubSpot CMS)</li><li>Rapid lint analysis driven by Ruff for Python and oxlint for JavaScript—both high-performance Rust utilities</li><li>JS and TS formatting powered by Biome, delivering Prettier-compatible styling</li><li>Python linting and formatting handled entirely by Ruff</li><li>HubL support via a bespoke template formatter designed for HubSpot CMS</li><li>Right-click "Fix with codefmt" action that cleans imports and resolves safe Biome linter warnings in a single sweep</li><li>Deep customization options: target print width, semicolon usage, quote types, trailing commas, bracket spacing, arrow function parentheses, JSX quote preferences, object property quoting, same-line brackets, and import organization</li><li>One-click settings sync via codefmt.dev. Manage preferences in your browser, apply them in the extension. Profiles are maintained independently per platform.</li><li>Global shortcut (Ctrl+Shift+F) active whenever your cursor is inside an editor field</li><li>Self-hosted n8n support: type your instance URL in the extension panel, and Firefox will prompt for targeted permission. Exact domain matching ensures that removing an entry immediately revokes its access.</li><li>Light and dark themes that inherit your operating system preference automatically</li><li>A dynamic tab badge displays "fmt" on active domains so you always know the tool is running</li><li>If Firefox permission is disabled or lost, the extension flags this with a "!" badge and provides an instant one-click remedy in the popup, eliminating guesswork</li><li>Fully compatible with CodeMirror (versions 5 and 6) and Monaco editors used across all supported platforms</li><li>Maximum file payload of 50 KB per formatting request</li><li>30-second timeout threshold equipped with automatic retries for temporary connection drops</li></ul>
Data Practices &amp; Privacy:
<ul><li>Zero tracking, telemetry, cookies, or user accounts required</li><li>Formatting rules and preferences live exclusively in your local browser storage</li><li>Submitting code transmits it via HTTPS to codefmt.dev/api/format, where it is handled entirely in RAM and sent back cleaned up. No logs, database records, or third-party sharing occur.</li><li>Operation is strictly restricted to the listed automation domains (plus codefmt.dev solely for preference synchronization)</li><li>Complete policy statement available at: <a href="https://prod.outgoing.prod.webservices.mozgcp.net/v1/5558e0d2e6e2e01cbbfe192cd24917c846828637becebccc739a6e7c684475ce/https%3A//codefmt.dev/privacy" rel="nofollow">https://codefmt.dev/privacy</a></li></ul>
Safety Measures:
<ul><li>Built on Manifest V3 using minimal required permissions (scripting, storage, activeTab, contextMenus)</li><li>Only approved domains can initiate formatting requests</li><li>Incoming internal messages undergo strict origin and sender validation prior to any network activity</li><li>Strict Content Security Policy enforced across all extension windows</li><li>Zero remote code loading. Every script is bundled locally as plain, readable JavaScript with no obfuscation or build steps.</li></ul>
Under the Hood:
<ul><li>Biome (biomejs.dev): Rust-engineered, Prettier-aligned layout engine for JavaScript and TypeScript</li><li>oxlint (<a href="https://prod.outgoing.prod.webservices.mozgcp.net/v1/88603b2fd3b79e8c9b08d91bfabeb0a835946707d8796f665b23b041d9c9fc64/http%3A//oxc.rs" rel="nofollow">oxc.rs</a>): Swift JavaScript checker sharing a familiar rule catalog</li><li>Ruff (<a href="https://prod.outgoing.prod.webservices.mozgcp.net/v1/34b5876832a2a178a675c47effc7fdc75187fca0a05f18c4cb7ac2077f9192fe/http%3A//astral.sh/ruff" rel="nofollow">astral.sh/ruff</a>): High-speed Python linting and formatting suite relied on by major software projects</li></ul>
Resources:
<ul><li>Web-based interface: <a href="https://prod.outgoing.prod.webservices.mozgcp.net/v1/8e0c8d069ce7369a48c63d30ec130be98e2e30c21decbb0073c502adcab8dcae/https%3A//codefmt.dev" rel="nofollow">https://codefmt.dev</a></li><li>Support and background info: <a href="https://prod.outgoing.prod.webservices.mozgcp.net/v1/8228a46c20e54697fda79285869ef3746425147cf83b9ec48ed1b34572761ccc/https%3A//codefmt.dev/about" rel="nofollow">https://codefmt.dev/about</a></li><li>Privacy documentation: <a href="https://prod.outgoing.prod.webservices.mozgcp.net/v1/5558e0d2e6e2e01cbbfe192cd24917c846828637becebccc739a6e7c684475ce/https%3A//codefmt.dev/privacy" rel="nofollow">https://codefmt.dev/privacy</a></li></ul>

## Rankings

- #98,490 — Overall

## Permissions and access

### Permissions

- `activeTab`
- `contextMenus`
- `storage`
- `scripting`

### Host permissions

- `https://zapier.com/*`
- `https://*.zapier.com/*`
- `https://n8n.io/*`
- `https://*.n8n.io/*`
- `https://n8n.cloud/*`
- `https://*.n8n.cloud/*`
- `https://pipedream.com/*`
- `https://*.pipedream.com/*`
- `https://hubspot.com/*`
- `https://*.hubspot.com/*`
- `https://make.com/*`
- `https://*.make.com/*`
- `https://codefmt.dev/*`

### Content script matches

- `zapier.com`
- `*.zapier.com`
- `n8n.io`
- `*.n8n.io`
- `n8n.cloud`
- `*.n8n.cloud`
- `pipedream.com`
- `*.pipedream.com`
- `hubspot.com`
- `*.hubspot.com`
- `make.com`
- `*.make.com`

## Safety

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

### Analysis details

- Injects scripts into web pages, which may alter or extract site contents, resulting in a substantial risk.
- This extension was recently updated in the past month. New updates 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

- [codefmt: code formatter and linter](https://chrome-stats.com/d/codefmt-format-automation-code) — 1 users
- [HubL Code Formatter](https://chrome-stats.com/d/hubl-code-formatter) — 1 users
- [Code Formatter](https://chrome-stats.com/d/web-code-formatter) — 24 users, 5.00 / 5
- [Code Beautifier](https://chrome-stats.com/d/code-beautifier) — 29 users
- [Code Fmt](https://chrome-stats.com/d/code-fmt) — 5 users
- [TextWrap Studio](https://chrome-stats.com/d/textwrap-studio) — 1 users
- [Zap It - Web Page Editor](https://chrome-stats.com/d/zap-it-web-page-editor) — 19 users, 5.00 / 5
- [WorkFlowy code formatter](https://chrome-stats.com/d/workflowy-code-formatter) — 6 users
- [Source Code Beautifier](https://chrome-stats.com/d/source-code-beautifier) — 2 users
- [CodeCraft: Beautifier & Analyzer](https://chrome-stats.com/d/codecraft-beautifier-analyzer) — 1 users
- [Pretty Js](https://chrome-stats.com/d/pretty-js)
- [StructFlow](https://chrome-stats.com/d/structflow) — 1 users

---

Source: [Chrome-Stats](https://chrome-stats.com/d/codefmt?hl=es)
