Ruff Linter & Formatter Online
Run the Ruff linter and formatter online — the extremely fast Rust-based tool that replaces Flake8, isort and Black. Free, no install, runs in your browser.
Why use this tool?
Use this when you want to lint or auto-format Python without installing anything. Ruff is the fast, modern replacement for Flake8, isort, pyupgrade, and Black, and here it runs entirely in your browser via WebAssembly — paste code, pick your rules or format settings, and get results instantly.
import os, sys
import json
def add( x,y ):
unused = 42
result=x+y
return result
print( add(1,2) )Lint results will appear here.
Powered by Ruff 0.15.22 (WebAssembly) — the extremely fast Rust linter & formatter that replaces Flake8, isort, pyupgrade and Black. Everything runs locally in your browser.
About Ruff Linter & Formatter
Ruff has become the de-facto standard for Python linting and formatting because it is written in Rust and runs 10–100× faster than the tools it replaces. A single tool covers what previously required Flake8 (and dozens of its plugins), isort, pyupgrade, autoflake, and the Black formatter.
This online version runs the official Ruff WebAssembly build directly in your browser — there is no server, no upload, and no installation. Linting reports each issue with its rule code (for example F401 for an unused import or E701 for multiple statements on one line), its exact line and column, and whether Ruff can auto-fix it.
Switch to Format mode to reformat your code to a consistent style with configurable line length and quote preference, matching what `ruff format` would produce in your editor or CI. Choose a rule preset — from Ruff's default set to the full ALL ruleset — to control how strict the linting is.
Frequently Asked Questions
Explore Other Tools
Python Marshal Encryptor
Compile Python to version-locked marshaled bytecode and get a ready-to-run loader. Pick your target Python version (3.10–3.13). Runs 100% in your browser.
Python .pyc Decompiler
Decompile a compiled Python .pyc file back to readable source — all versions, running in your browser via WebAssembly. Nothing uploaded.
Python Type Checker
Type-check your Python online with mypy — runs 100% in your browser via WebAssembly. Catch type errors before you run the code. Nothing is uploaded.
AST Python Obfuscator
Obfuscate your Python code online with a 7-layer AST obfuscator — rename identifiers, encrypt strings, hide imports, flatten control flow, and encrypt the whole script. Free, advanced, and runs in your browser.