Online Text Editor
A free online code and text editor with VSCode shortcuts, syntax highlighting, and tabs — right in your browser.
About the online text editor
Free online text editor with VSCode keyboard shortcuts, multi-cursor editing, syntax highlighting for 14+ languages, tabs, search & replace, and auto-save. No sign-up, works offline in your browser.
What you can do
Every capability in this tool, in plain language.
Type like you do in VS Code
VSCode keyboard shortcuts: Ctrl+D selects the next match, Alt+Click adds a cursor, Ctrl+Alt+Up/Down adds a cursor on the line above or below, Shift+Alt+Down duplicates a line, Alt+Up/Down moves a line, Ctrl+/ toggles comments, Ctrl+Z / Ctrl+Y undo and redo.
Colors for your code
Syntax highlighting for JavaScript, TypeScript (JSX/TSX), HTML, CSS, JSON, Python, Markdown, XML, SQL, Java, C and C++, PHP, YAML, and plain text. The language is detected from the file name, or you pick it yourself.
Write HTML faster with Emmet
Emmet abbreviations expand on Tab in HTML, CSS, JSX/TSX, XML, and Markdown. Type div.container>ul>li*3 or lorem5 and press Tab to expand it.
Insert dummy text
Insert Lorem Ipsum from the command palette as a sentence, a paragraph, or 50 words — in any language mode, not only HTML.
Several files at once
Multiple tabs so you can work on several files at once. Rename a tab, close it, or add a new one with the + button.
Find and replace
Search and replace with Ctrl+F and Ctrl+H. See a match count, use regular expressions, and match case or whole words.
Change case and tidy lines
Built-in text transforms from the Ctrl+Shift+P command palette: UPPERCASE, lowercase, Title Case, Sentence case, camelCase, PascalCase, snake_case, kebab-case; sort A→Z, Z→A, or by length; reverse or shuffle lines; remove duplicates, unique-duplicates, empty lines, and trailing spaces.
Encode and decode text
Base64 encode and decode, URL encode and decode, and HTML escape / unescape — all from the command palette, without leaving the editor.
Pretty-print your code
Format code with Prettier (Shift+Alt+F) for JavaScript, TypeScript, JSON, HTML, CSS, Markdown, and YAML.
Check and shrink files
Validate syntax for JSON, JavaScript, TypeScript, HTML, CSS, Markdown, YAML, and XML. Minify JSON, CSS, HTML, and XML when you need a smaller file.
See Markdown as you write
Live Markdown preview with a one-click toggle so you can check headings, lists, and links without exporting.
Open files, save a ZIP
Drag and drop files onto the editor to open them. Download the active tab, or download every open tab as a ZIP.
Your work stays in the browser
Automatic saving to your browser. Close the tab and your work is still there when you come back — nothing is uploaded.
Open from your computer
Use Open to load one or more text files from your device, and Download to save the active tab back as a file.
Comfortable to look at
Dark and light themes, adjustable font size, word wrap, and a distraction-free fullscreen mode.
Editor helpers
Code folding, bracket matching, auto-closing brackets, and smart indentation — the same comforts as a desktop editor.
One command box for everything
The Ctrl+Shift+P command palette reaches transforms, language, format, validate, minify, find, wrap, fullscreen, preview, font size, lorem text, copy, paste, open, and download.
How to use it
- 1
Start typing in the editor — your work is saved automatically in your browser.
- 2
Pick a language from the toolbar (or open a file) to get syntax highlighting.
- 3
Use VSCode shortcuts you already know: Ctrl+D, Ctrl+F, Ctrl+/, Alt+Up/Down and more.
- 4
In HTML or CSS, type an Emmet abbreviation (like ul>li*3) and press Tab to expand it.
- 5
Press Ctrl+Shift+P to format, convert case, sort lines, or insert lorem text.
- 6
Add tabs with the + button to work on multiple files side by side.
- 7
Click Download to save the active tab, or download every tab as a ZIP.
Frequently asked questions
Which keyboard shortcuts are supported?
The editor uses VSCode keybindings: Ctrl+D (select next occurrence), Alt+Click (add cursor), Ctrl+Alt+Up/Down (add cursor above/below), Shift+Alt+Up/Down (duplicate line), Alt+Up/Down (move line), Ctrl+/ (toggle comment), Ctrl+F (find), Ctrl+H (replace), Ctrl+Z / Ctrl+Y (undo/redo) and many more.
Does the editor support Emmet and Lorem Ipsum?
Yes. In HTML, CSS, JSX/TSX, XML, and Markdown, press Tab to expand Emmet abbreviations (for example div.card>h2+p or lorem5). You can also insert a lorem sentence, paragraph, or 50 words from the Ctrl+Shift+P command palette in any language.
Which programming languages get syntax highlighting?
JavaScript, TypeScript (including JSX/TSX), HTML, CSS, JSON, Python, Markdown, XML, SQL, Java, C and C++, PHP, YAML — plus plain text. The language is detected automatically from the file name, or you can pick it manually.
Can I open and save files from my computer?
Yes. Use the Open button to load one or more text files from your device, and the Download button to save the active tab back to your computer. You can also download every open tab as a ZIP.
Does the online text editor work on mobile?
Yes. On smaller screens the editor uses a compact bar (new, open, download, find, fullscreen) and puts transforms, language, format, and other actions in the command palette. The editor is built on CodeMirror 6 with touch and mobile keyboard support.