Code Cleaner turns pasted code into clean, syntax-highlighted, documentation-ready blocks in Google Docs™. Paste your code, preview the highlighted result, and insert it as a properly formatted block. No screenshots, no manual monospace fiddling, no broken formatting. What it does: Syntax highlighting — colored, readable code for JavaScript, TypeScript, Python, JSON, and other C-style languages, with automatic language detection Clean formatting — normalizes line endings, converts tabs to spaces (with tab-width detection), trims trailing whitespace, collapses extra blank lines Preview before insert — see exactly how the block will look before it touches your document Your styling — choose font, font size, theme colors, and whether to show a language label; preferences persist across sessions Reliable block styling — monospace block in a clean 1×1 table, consistent across your document Format in place — clean and highlight an existing selection, or paste fresh code Why Code Cleaner: It works. Built on Google Apps Script's current V8 runtime — not affected by the Rhino runtime shutdown that broke older add-ons in early 2026. Minimal permissions. Asks only for what it needs to format the document in front of you. No surprise access requests. Maintained. Built and supported by Vertex Studios. Google Docs™ and Google Apps Script™ are trademarks of Google LLC.