Unicode Conversion is a Visual Studio Code extension that allows you to convert between Unicode escape sequences and Unicode characters bidirectionally in your files effortlessly.
Command Palette: Press Ctrl+Shift+P (Windows/Linux) or Cmd+Shift+P (Mac) to open the command palette, then type Unicode Conversion: Convert Document (Unicode → Text) and select the command.
Context Menu: Right-click in the editor window, navigate to Unicode Conversion > Convert Document (Unicode → Text).
Keyboard Shortcut: Press Ctrl+Alt+U (Windows/Linux) or Cmd+Alt+U (Mac) to convert all Unicode escape sequences in the document.
Convert Selected Unicode Escape Sequences
Command Palette: Press Ctrl+Shift+P (Windows/Linux) or Cmd+Shift+P (Mac) to open the command palette, then type Unicode Conversion: Convert Selection (Unicode → Text) and select the command.
Context Menu: Right-click in the editor window, navigate to Unicode Conversion > Convert Selection (Unicode → Text).
Keyboard Shortcut: Press Ctrl+Alt+S (Windows/Linux) or Cmd+Alt+S (Mac) to convert the selected Unicode escape sequences.
🔄 Text to Unicode Conversion (Encode)
Convert Document to Unicode Escape Sequences
Command Palette: Press Ctrl+Shift+P (Windows/Linux) or Cmd+Shift+P (Mac) to open the command palette, then type Unicode Conversion: Convert Document (Text → Unicode) and select the command.
Context Menu: Right-click in the editor window, navigate to Unicode Conversion > Convert Document (Text → Unicode).
Keyboard Shortcut: Press Ctrl+Alt+Shift+U (Windows/Linux) or Cmd+Alt+Shift+U (Mac) to convert all non-ASCII characters in the document to Unicode escape sequences.
Convert Selected Text to Unicode Escape Sequences
Command Palette: Press Ctrl+Shift+P (Windows/Linux) or Cmd+Shift+P (Mac) to open the command palette, then type Unicode Conversion: Convert Selection (Text → Unicode) and select the command.
Context Menu: Right-click in the editor window, navigate to Unicode Conversion > Convert Selection (Text → Unicode).
Keyboard Shortcut: Press Ctrl+Alt+Shift+S (Windows/Linux) or Cmd+Alt+Shift+S (Mac) to convert the selected non-ASCII characters to Unicode escape sequences.
⌨️ Keyboard Shortcuts Summary
Action
Shortcut
Description
Unicode → Text (Document)
Ctrl+Alt+U
Convert all Unicode escape sequences in document
Unicode → Text (Selection)
Ctrl+Alt+S
Convert selected Unicode escape sequences
Text → Unicode (Document)
Ctrl+Alt+Shift+U
Convert all non-ASCII characters to Unicode escapes
Text → Unicode (Selection)
Ctrl+Alt+Shift+S
Convert selected non-ASCII characters to Unicode escapes
💡 Use Cases
JSON Files: Convert encoded Unicode strings to readable text
Database Exports: Decode Unicode escape sequences from database dumps
Internationalization: Work with multilingual content in various formats
API Responses: Convert between encoded and decoded Unicode formats
Configuration Files: Handle Unicode content in config files
Log Files: Decode Unicode escape sequences in application logs
Installation
Open Visual Studio Code
Press Ctrl+P to open the quick open dialog
Type ext install jackz.unicode-conversion and press Enter