Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Quote SwitcherNew to Visual Studio Code? Get it now.
Quote Switcher

Quote Switcher

GVASTETHECREATOR

| (0) | Free
Cycle string quotes without changing the string value.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info
Quote Switcher

Quote Switcher

Change quote style without changing the represented string value.

Release VS Code Marketplace MIT license GitHub CI status

Quote Switcher before and after converting three TypeScript strings

Highlights

  • Cycle single, double, and template quotes in JavaScript and TypeScript.
  • Convert JSON and JSONC strings safely to double quotes.
  • Handle multiple cursors in one edit and one undo step.
  • Preserve the decoded string value or leave the source unchanged.

Use

Place cursors inside string literals, then run Quote Switcher: Cycle Quotes. Direct conversion commands are also available from the Command Palette.

The extension ignores comments, regex literals, unsafe templates, malformed strings, and selections that cross literal boundaries. It has no telemetry, network access, filesystem access, or stored document content.

More details: product contract · compatibility · security


GitHub stars

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