PDFPowerHub

Code Scratchpad

This free Code Scratchpad tool is a VS Code-grade editor with tabs, so you can jot, paste and edit code across multiple files with real syntax highlighting. Your tabs autosave locally and everything stays on your device — nothing is uploaded.

Loading…

How to use Code Scratchpad

  1. 1 Start typing or paste code — the extension in the file name sets the language.
  2. 2 Click + to add a tab, double-click a tab to rename it, or use Open to load a file from disk.
  3. 3 Edit with familiar shortcuts like ⌘D to select the next match and ⌥↑/↓ to move lines.
  4. 4 Use Copy to grab the active file, or Save to write it back to disk — tabs autosave locally.

Frequently asked questions

Is my code uploaded or synced to a server?

No. The editor runs entirely in your browser and tabs are saved locally on your device, so your code never leaves your machine.

Will my tabs still be there when I come back?

Yes. Open files autosave to local browser storage a moment after each change and are restored the next time you open the tool.

How does it know which language to highlight?

It picks the language from the file name's extension — for example naming a tab app.py highlights Python — and updates when you rename the tab.

Does it work offline?

Yes. PDFPowerHub is a PWA, so once loaded the scratchpad keeps working with no internet connection.