Online Code Editor with Syntax Highlighting and Formatting
Write or paste code in dozens of languages and get full syntax highlighting, auto-indentation, and one-click formatting powered by Prettier. Supports JavaScript, TypeScript, HTML, CSS, Python, Java, and many more.
Great for quick code edits, sharing snippets, or formatting messy code before pasting it into documentation. The editor runs CodeMirror 6, so it feels snappy even with large files.
Frequently Asked Questions — Code Editor
JavaScript, TypeScript, HTML, CSS, Python, Java, Rust, Go, SQL, JSON, XML, YAML, Markdown, PHP, and more.
Yes. Prettier integration auto-formats supported languages. Hit the format button or use the keyboard shortcut.
Yes. The diff view highlights additions, deletions, and changes between two code snippets with syntax highlighting.
More Developer Tools
JS Obfuscator
Obfuscate & deobfuscate JavaScript code. Multiple protection levels.
TypeScript to JavaScript
Convert TypeScript code to JavaScript by removing type annotations.
Regex Tester
Test and debug regular expressions with real-time matching.
JSON Viewer
Prettify, minify, and explore JSON with a foldable tree view.
XML Viewer
Format, minify, and browse XML documents in a foldable tree.
JSON to TypeScript
Convert JSON objects to TypeScript interfaces or types.
JSON Diff
Compare two JSON documents and visualize differences in a tree view.
JSON Sorter
Sort JSON object keys alphabetically with customizable indentation.