Skip to content
| Marketplace
Sign in
Visual Studio Code>Programming Languages>js2textNew to Visual Studio Code? Get it now.
js2text

js2text

Ankit

|
357 installs
| (1) | Free
Convert JS to Text
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

JS to Text

Install

In the command palette (F1) select Install Extension and search for js2text

Usage

This command works with the currently selected text, not the entire contents of a file. Multi-select is also supported. If you want to convert an entire fall, then select all text Ctrl+a, and then run one of the available commands.

In the command palette (F1) type JS to Text. You should see the following command:

  • Convert JS to Text

Demo

Convert JS to Text

This command uses the JavaScript eval function to compile input and return output in json .

Support

nkitku@github.com

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft