Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Paste CompareNew to Visual Studio Code? Get it now.
Paste Compare

Paste Compare

Weiqiang Wang

|
2 installs
| (0) | Free
Paste or drop two texts and compare them side by side.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Paste Compare

A focused VS Code extension for comparing two pieces of text copied from anywhere.

Usage

  1. Run Paste Compare: Open Native Comparison from the Command Palette.
  2. Copy the first text and run Paste Compare: Paste Clipboard into Left.
  3. Copy the second text and run Paste Compare: Paste Clipboard into Right.
  4. Run Paste Compare: Select Syntax Language when comparing code.

The native VS Code diff opens by default, including syntax highlighting, line alignment, line numbers, and synchronized scrolling. The original two-pane input UI remains available through Paste Compare: Open Paste Workbench.

Files can also be loaded using Paste Compare: Load into Left/Right from the Explorer context menu. Dragging a file into either pane is supported when the VS Code host exposes its URI to webviews.

Development

Press F5 in VS Code to launch an Extension Development Host, or run:

npm install
npm run check
npm run package
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2026 Microsoft