Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>String ConverterNew to Visual Studio Code? Get it now.
String Converter

String Converter

Rectcircle

|
74 installs
| (0) | Free
Intelligently identify string formats in files to parse, format, convert, etc.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

String Converter VSCode Extension

中文

This extension provides developers with efficient text processing tools, serving as an alternative to online services like https://jwt.io and https://www.epochconverter.com.

Core features include:

  • Programming language literal parsing
  • JWT token parsing
  • Timestamp conversion
  • Base64 decoding
  • URL parsing
  • JSON formatting

All features are deeply integrated into the IDE, displaying results through hover popups or side windows, with one-click copy capability for native IDE experience:

demo

Features

Parse Programming Language Literals

parse-lang-literal

Supports parsing literals from these programming languages:

  • [x] Go
  • [x] Java
  • [x] JSON
  • [x] Python
  • [x] Rust
  • [x] TypeScript / JavaScript
  • [x] C/C++
  • [x] JSX / TSX

More languages will be supported gradually. Contributions are welcome.

Symbol style conversion

(Default CodeAction trigger, Hot Key cmd+.)

Supports intelligent identification of symbol styles and shows that the identifier can be converted to other styles (supports four styles: PascalCase, camelCase, snake_case, SCREAMING_SNAKE_CASE):

str-conv-symbol-style-list

Supports copying and one-click renaming:

str-conv-symbol-style-rename

JWT Token Parsing

parse-jwt

Timestamp Conversion

parse-timestamp

Base64 Decoding

Detects Base64 content format and provides decoding results (Default CodeAction trigger, Hot Key cmd+.).

  • For string type: detects string encoding rules (supports UTF-8, GBK, etc.)

    base64-string

  • For binary type: detects magic numbers and outputs in xxd-like format

    base64-binary

URL Parsing

Supports URL and query string parsing.

parse-url

JSON Formatting

json-format

More Features

Additional features will be added as needed. Contributions are welcome.

Trigger Way

Supports both Hover and Code Action triggers.

  • Hover: Automatically triggered when you hover the mouse over the code.
  • Code Action: Move the cursor to the corresponding code position, and after the light bulb appears, click the light bulb or press cmd+. to select the corresponding function to trigger.

The default trigger methods are as follows:

  • Hover:
    • Parse programming language literals (string-literal)
    • JWT token parsing (jwt-parser)
    • Timestamp conversion (timestamp-parser)
    • URL parsing (url-parser)
    • JSON formatting (json-formater)
  • Code Action:
    • Base64 decoding (base64-parser-text, base64-parser-binary)
    • Symbol style conversion (symbol-style-converter)

Custom trigger way, see below extension settings.

Extension settings

  • Can be configured through the following configuration items to customize the trigger way for features:

    • str-conv.trigger.codeAction Configure whether a feature is enabled for Code Action trigger.
    • str-conv.trigger.hover Configure whether a feature is enabled for Hover trigger.

System Requirements

This extension is published as a Web Extension, supporting:

  • Desktop
  • Remote
  • Browser
  • VSCode Web

Extension Settings

None currently.

Future updates may include converter toggles, priorities, and specific configurations based on demand.

Known Issues

None currently.

Changelog

See: CHANGELOG.md

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