✦ Chrome Extension · Free to install

Share code in Gmail
the way it deserves.

Select any code in Gmail, right-click, and insert a perfectly formatted, syntax-highlighted code block in seconds. No copy-paste into external tools.

Install Free on Chrome See plans
Free forever plan 3-day free trial on Junior Dev 19 languages
Gmail — Compose
TypeScript
1 2 3 4 5 6 7 8 9 10 11 interface ApiResponse<T> { data: T; status: number; error: string | null; } async function fetchUser(id: number): Promise<ApiResponse<User>> { const res = await fetch(`/api/users/${id}`); if (!res.ok) throw new Error('Not found'); return { data: await res.json(), status: 200, error: null }; }

Three steps. Done.

CodeCompose lives in Gmail's right-click menu. No new tabs, no external tools, no copying and pasting.

1

Write or paste code

Type or paste your code directly into a Gmail compose window like you normally would.

2

Select and right-click

Highlight the code, right-click, and choose Insert Code Block from the context menu.

3

Pick language and insert

CodeCompose detects the language automatically. Preview it, tweak if needed, then hit Insert.


Everything you need,
nothing you don't.

The free tier is genuinely useful. Paid tiers unlock Prettier formatting, more languages, and pro features.

Free
  • Syntax highlighting
  • js-beautify formatting
  • JavaScript, JSON, Python
  • Dark & Light themes
  • Prettier formatting
  • More languages
  • All themes
Junior Dev · $0.99/mo · 3-day free trial
  • Everything in Free
  • Prettier formatting
  • All 5 themes
  • 13 languages — Java, PHP,
    Ruby, SQL, HTML, YAML & more
  • Auto language detection
  • Font size control
  • Line numbers
  • Copy to clipboard
Senior Dev · $1.99/mo
  • Everything in Junior Dev
  • Line numbers in blocks
  • Copy to clipboard
  • Go, Rust, Kotlin, Swift,
    C++, XML
  • Priority new features
  • ✦ GitHub Gist embed (coming)
  • ✦ Custom theme builder (coming)

19 languages supported.

From Python to Rust — every tier unlocks more.

Free
JavaScript JSON Python Plain Text
Junior Dev — adds 9 more
TypeScript Java PHP Ruby SQL HTML CSS Shell / Bash YAML
Senior Dev — adds 6 more
Go Rust Kotlin Swift C++ XML

Simple, honest pricing.

Start free. Try Junior Dev free for 3 days. Cancel anytime.

Free
$0
The essentials, forever free.
  • Syntax highlighting
  • js-beautify formatting
  • JS, JSON & Python
  • Dark & Light themes
Install Free
Senior Dev
$1.99/mo
Line numbers, clipboard, and advanced languages.
  • Everything in Junior
  • Line numbers
  • Copy to clipboard
  • Go, Rust, Kotlin, Swift, C++
  • Priority new features
Get Senior Dev

Common questions.

Everything you need to know before installing.

Is there a free trial?
Yes. Junior Dev includes a 3-day free trial — no commitment required. If you cancel within 3 days you won't be charged anything. After the trial it's $0.99/mo and you can cancel anytime from your Lemon Squeezy customer portal or directly from the CodeCompose settings page.
Does CodeCompose read my emails?
No. CodeCompose only activates when you right-click selected text in the Gmail compose window. It never reads, stores, or transmits email content. The only external call it makes is a daily license key check with Lemon Squeezy to verify paid subscriptions.
Does the code block look good to the recipient?
Yes. Code blocks are inserted as email-safe HTML with fully inline styles — no external stylesheets, no web fonts. They render correctly in Gmail, Outlook, Apple Mail, and most other major clients.
Which languages are supported?
19 total. Free: JavaScript, JSON, Python. Junior Dev adds TypeScript, SQL, HTML, CSS, Java, PHP, Ruby, Shell/Bash, and YAML. Senior Dev adds Go, Rust, Kotlin, Swift, C++, and XML. More languages are coming to Senior Dev.
How do I activate my license after purchasing?
After checkout, Lemon Squeezy will email you a license key. In Chrome, click the CodeCompose icon in your toolbar → Open Settings → paste your key into the license field → click Activate. Your plan upgrades instantly. You can also reach Settings by right-clicking in Gmail → Insert Code Block → Open Settings.
Can I cancel my subscription?
Yes, at any time through your Lemon Squeezy customer portal. You can also deactivate your license key directly from the CodeCompose settings page inside Chrome.
What happens if I cancel?
Your account automatically reverts to the Free tier. You keep the extension and all free features. Nothing is deleted.
Does it work with Google Workspace?
Yes. CodeCompose works with both personal Gmail accounts and Google Workspace (formerly G Suite) accounts. As long as you're composing email in Gmail's web interface, the extension works the same way.
Does my recipient need CodeCompose to view the code block?
No. Code blocks are inserted as standard HTML with fully inline styles — no external stylesheets, no plugins required. Your recipient sees the syntax-highlighted code directly in their email client, whether they use Gmail, Outlook, Apple Mail, or anything else.