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.
Features
- VSCode keyboard shortcuts — Ctrl+D to select the next occurrence, Alt+Click for multiple cursors, Shift+Alt+Down to duplicate lines, Alt+Up/Down to move lines, Ctrl+/ to toggle comments
- Syntax highlighting for JavaScript, TypeScript, HTML, CSS, JSON, Python, Markdown, XML, SQL, Java, C/C++, PHP, YAML and plain text
- Emmet abbreviations on Tab for HTML, CSS, JSX/TSX, XML, and Markdown — type div.container>ul>li*3 or lorem5 and hit Tab
- Insert Lorem Ipsum from the command palette (sentence, paragraph, or 50 words) in any language
- Multiple tabs so you can work on several files at once, with rename and close
- Powerful search and replace (Ctrl+F / Ctrl+H) with match count, regular expressions, case and whole-word options
- Built-in text transforms: change case (UPPERCASE, lowercase, Title Case, camelCase, snake_case, kebab-case), sort/reverse/shuffle lines, remove duplicates and empty lines, Base64 and URL encode/decode, HTML escape — all reachable from the Ctrl+Shift+P command palette
- Format code with Prettier (Shift+Alt+F) for JavaScript, TypeScript, JSON, HTML, CSS, Markdown, and YAML
- Validate syntax for JSON, JavaScript, TypeScript, HTML, CSS, Markdown, YAML, and XML — and minify JSON, CSS, HTML, and XML
- Live Markdown preview with a one-click toggle
- Drag and drop files to open them, and download every open tab as a ZIP
- Automatic saving to your browser — close the tab and your work is still there when you come back
- Open files from your computer and download your work with one click
- Dark and light themes, adjustable font size, word wrap, and a distraction-free fullscreen mode
- Code folding, bracket matching, auto-closing brackets, and smart indentation
How to use it
- Start typing in the editor — your work is saved automatically in your browser.
- Pick a language from the toolbar (or open a file) to get syntax highlighting.
- Use VSCode shortcuts you already know: Ctrl+D, Ctrl+F, Ctrl+/, Alt+Up/Down and more.
- In HTML or CSS, type an Emmet abbreviation (like ul>li*3) and press Tab to expand it.
- Add tabs with the + button to work on multiple files side by side.
- Click Download to save the active tab to your computer as a file.
Frequently asked questions
Is this online text editor free?
Yes, completely free. There is no sign-up, no account, and no limit on how much you can write or edit.
Is my text uploaded to a server?
No. The editor runs entirely in your browser. Your text never leaves your device — it is saved to your browser's local storage so it's still there next time you visit.
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.
Does it 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.