Skip to content
| Marketplace
Sign in
Visual Studio Code>Programming Languages>Overleaf ConnectNew to Visual Studio Code? Get it now.
Overleaf Connect

Overleaf Connect

Tansu Aşıcı

|
1,971 installs
| (0) | Free
Use Overleaf without leaving VS Code. Syncs Overleaf projects via Git; Overtex builds and previews them.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Overleaf Connect Logo

Overleaf Connect

Use Overleaf without leaving VS Code.

Sync Overleaf projects via Git. Overtex builds and previews them.

VS Code Marketplace Installs License

Features

  • Automatic two-way sync with Overleaf via Git, one Overleaf project per workspace folder
  • Overleaf panel - sync state, files waiting to go to Overleaf and recent Overleaf commits for each folder; ↑ and ⚠ badges in the explorer
  • Clone or upload - clone an Overleaf project, or send an existing local folder to one
  • Conflict resolution - compare with Overleaf's version and take theirs, keep yours or edit by hand, from the panel
  • See what changed - a notification names the files and authors a sync brought, with a diff one click away
  • Overleaf web features (optional, with your session cookie) - pick a project from a list, add, reply to and resolve comments on their lines, compile on Overleaf
  • Works with Overtex - Overtex builds, previews and handles SyncTeX; it is installed with this extension. Sync waits for each build to finish
  • Smart .gitignore - auto-excludes build artifacts from sync
  • Self-hosted Overleaf support

Setup

  1. Install the extension from the VS Code Marketplace
  2. Open Command Palette (Ctrl+Shift+P / Cmd+Shift+P)
  3. Run Overleaf Connect: Clone Overleaf Project
  4. Enter your Overleaf project URL or ID
  5. Enter your Git token (Account Settings > Git Integration)
  6. Choose a local folder

Auto-sync starts immediately. Your Git token is kept in VS Code's secret storage and is never written into the repository.

Overleaf Web Features (optional)

Run Overleaf Connect: Set Overleaf Session Cookie and paste the value of the overleaf_session2 cookie from your browser (on a self-hosted server, paste it as name=value). Then:

  • Clone Overleaf Project lists your projects instead of asking for a URL
  • Show Overleaf Comments shows comment threads on the lines they refer to; reply, edit or delete your own messages, and resolve, reopen or delete threads from there. To add a comment, select the text (or put the cursor on a line), click the + in the gutter, type and choose Add Comment. It goes on Overleaf's copy of the text, so sync first if you just changed it
  • Compile on Overleaf syncs, compiles on Overleaf and opens the PDF

These use Overleaf's website, not a public API, so they may break when Overleaf changes. The cookie is stored in VS Code's secret storage and sent only to Overleaf.

Self-Hosted Overleaf

{
  "overleafconnect.overleaf.serverUrl": "https://git.your-overleaf-instance.com"
}

License

MIT

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
  • Your Privacy Choices
  • Consumer Health Privacy
© 2026 Microsoft