CodeTab Untitled

Private by design: your code stays on this device. Nothing is uploaded, no account, no tracking.

Save as

How CodeTab works

CodeTab is a code editor that runs entirely in your browser tab. Your files are opened and saved on your own computer and are never uploaded.

Toolbar

New / Open
Start an empty file, or open files from your computer. You can also drag files onto the editor.
Save
Saves the file. A new file asks for a name and type the first time.
Save As
Pick a file name and a language (JavaScript, Python, HTML…). The extension is set for you.
Undo / Redo
Step backward or forward through your changes.
Find / Replace
Opens a search box over the editor. Press Enter for the next match.
Check
Checks the file for errors and opens the Problems list.

Switches

Auto-check
On: errors are checked as you type. Off: nothing is checked until you press Check.
Wrap
On: long lines wrap to fit the window. Off: long lines scroll sideways.
Theme
Switches between the light and dark look. Your choice is remembered.

Languages

Detection
Start typing or paste code and the language is recognized for you. An AUTO tag appears next to the language in the bottom bar.
Changing it
Click the language name in the bottom-right corner to pick one yourself. This turns detection off for that file.
Tabs
Each open file has a tab. The colored square shows its language, and a dot means unsaved changes.

Reading the code

Wavy underline
Red is an error; yellow is a warning. Hover the marker beside the line number for details.
Problems list
Click the counters in the bottom-left corner to open it. Click a problem to jump to it, or press F8.
Bracket colors
Matching pairs share a color. A bracket shown in red has no partner.
Boxed pair
With the cursor next to a bracket or on an HTML tag, it and its partner are boxed.
Highlighted words
Other places the word under the cursor appears are shaded.

Saving

In Chrome and Edge you choose a folder, and Save updates that same file afterwards. In Safari and Firefox, files go to your Downloads folder.

Keyboard shortcuts

⌘/Ctrl NNew file⌘/Ctrl FFind
⌘/Ctrl OOpen⌘/Ctrl HReplace
⌘/Ctrl SSaveF8Next problem
⌘/Ctrl ⇧ SSave As⌘/Ctrl ⇧ MProblems list
Tab / ⇧ TabIndent / outdentF1This help