Top Banner ad placeholder

Code Editor

A lightweight code editor with syntax highlighting, preview, find and replace, formatting, local tab management, and practical shortcuts.

Code Editor

UntitledLn 1, Col 11 lines · 0 chars · TypeScriptNo selectionNot saved yet
Shortcuts & helpClick to expand
Shortcut referenceCommon shortcuts are collected here for quick lookup.
Tab
Indent the current line; selected lines indent together.
Shift+Tab
Outdent the current line; selected lines outdent together.
Ctrl+D / Cmd+D
Delete the current line or the lines touched by the selection.
Ctrl+L / Cmd+L
Open go-to-line.
Ctrl+Shift+B / P
Jump to the matching bracket near the cursor.
Ctrl+Shift+F / Cmd+Shift+F
Format the current document; languages with a standard formatter use common rules, and the rest use conservative basic formatting.
Ctrl+1-5 / Cmd+1-5
Fold code blocks by level; numbers 1 through 5 map to fold levels.
Ctrl+- / Cmd+-
Fold every foldable code block.
Ctrl+* / Cmd+*
Unfold every collapsed code block.
Ctrl+F / Cmd+F
Open search; the toolbar panel also supports replace one or all.
Ctrl+S / Cmd+S
Immediately save the current content to local storage.
Ctrl+Z / Cmd+Z
Undo the previous edit.
Ctrl+Y / Cmd+Shift+Z
Redo the previous edit.
Right-click selected text
Run string transforms or array cleanup on the selection.
Shift+S
Open the string and array transform menu when text is selected.
Ctrl+Click / Cmd+Click
Ctrl+Click a symbol to jump to its definition in the current file (function / class / const).
Feature referenceThis is a lightweight single-file editor for snippets and drafts. It does not execute code.

Syntax highlighting, line numbers, bracket matching, and current-line focus.

Markdown and HTML can use preview or split view.

JavaScript, TypeScript, JSON, Markdown, Angular Template, CSS, Sass/SCSS, and HTML prefer Prettier; PHP, Go, Python, SQL, HTTP Request, Shell, and Plain text use conservative basic formatting.

Search replace supports one/all, Regex, match case, and whole word.

Fold current block, unfold, fold all, unfold all, or try levels 1-5.

Right-click selected text for URL/Base64, case, JSON escape, array conversion, and line cleanup.

Tabs autosave to localStorage, and files can be imported or downloaded.

It does not execute code, open project folders, or proactively upload content to the server.

In-content ad placeholder

A lightweight but useful editor

A large editing surface with a focused toolbar, syntax highlighting, line numbers, bracket matching, folding, search replace, context transforms, and familiar IDE shortcuts.

Supported languages

Supports JavaScript, TypeScript, JSON, PHP, Go, Python, Markdown, Angular Template, Database / SQL, HTTP Request, CSS, Shell, Sass / SCSS, HTML, and plain text. Markdown and HTML can preview; JS, TS, JSON, Markdown, Angular Template, CSS, and HTML can format.

Local tabs

Tab content is stored in your browser localStorage and is not uploaded to the server. Clearing browser data removes all local tabs.

How to use it

Choose a language or import a file to start editing.

Use the toolbar to switch edit, view, preview, or split mode.

Use search replace, formatting, folding, and right-click transforms when needed.

Tabs save locally, and you can download the current content.

FAQ

Does this tool run code?

No. It is a browser-based text and code editor. It does not execute user code.

Which languages can preview?

Currently supports Markdown and HTML preview. HTML uses a sandbox iframe with scripts disabled.

Which languages can format?

JavaScript, TypeScript, JSON, Markdown, Angular Template, CSS, and HTML format with Prettier. PHP, Go, Python, Database / SQL, HTTP Request, Shell, Sass / SCSS, and plain text use conservative basic formatting instead.

Do drafts sync to the cloud?

No. Drafts only live in this browser's localStorage.

Can it open a full project?

This editor does not support project trees or folder workspaces. It focuses on local single-file tab management.