String Manipulation

Compatible with IntelliJ IDEA (Ultimate, Community), Android Studio and 17 more
Screenshot 1
Screenshot 2
Case switching, sorting, filtering, incrementing, aligning to columns, grepping, escaping, encoding...


Features:

Case switching:

  • Switch case (camelCase, kebab-lowercase, KEBAB-UPPERCASE, snake_case, SCREAMING_SNAKE_CASE, dot.case, words lowercase, First word capitalized, Words Capitalized, PascalCase)
  • Toggle: SCREAMING_SNAKE_CASE / camelCase
  • Toggle: snake_case / camelCase
  • Toggle: kebab-case / snake_case
  • Toggle: kebab-case / camelCase
  • Toggle: dot.case / camelCase
  • Toggle: PascalCase / camelCase
  • Toggle: lowercase words / camelCase
  • Toggle: First word capitalized / camelCase
  • Toggle: Capitalized Words / camelCase
  • To camelCase
  • To snake_case
  • To kebab-case
  • To PascalCase
  • To SCREAMING_SNAKE_CASE
  • To Capitalized_Snake_Case
  • Capitalize
  • To lower case
  • To UPPER CASE
  • Invert case
  • To Spring Boot System Env Variable
-'Switch case' action can be customized, or new ones can be added in settings
-when nothing is selected, then either nothing or whole line or a particular element is selected (report an issue if you find something to improve, each file type needs its own implementation to work flawlessly)

Un/Escape:

  • Un/Escape selected Java text
  • Un/Escape selected JavaScript text
  • Un/Escape selected C# text (regular, verbatim, interpolated)
  • Un/Escape selected HTML text
  • Un/Escape selected JSON text
  • Un/Escape selected XML text
  • Un/Escape selected SQL text
  • Un/Escape selected PHP text
  • Convert diacritics (accents) to ASCII
  • Convert non-ASCII to escaped Unicode
  • Convert escaped Unicode to String
  • Unicode normalization (NFD, NFC, NFKC, NFKD)

Encode/Decode:

  • Encode selected text to MD5 Hex
  • Encode selected text to SHA-1 Hex
  • Encode selected text to SHA-256 Hex
  • Encode selected text to SHA-512 Hex
  • Encode selected text to SHA3-256 Hex
  • Encode selected text to SHA3-512 Hex
  • De/Encode selected text as URL
  • De/Encode selected text to Base64 (+ zip/deflate)
  • De/Encode selected text to Hex
  • ISO Timestamp to Epoch Milliseconds
  • Epoch Milliseconds to ISO Timestamp

Increment/Decrement:

  • Increment/decrement all numbers found.
  • Duplicate selection and increment/decrement all numbers found.
  • Create sequence - Keep first number, replace all other by incrementing
  • Increment duplicate numbers

Sort with natural order or Collator:

  • Reversing order of lines
  • Shuffle lines
  • Sort case-sensitive A-z
  • Sort case-sensitive z-A
  • Sort case-insensitive A-Z
  • Sort case-insensitive Z-A
  • Sort line length asc., desc.
  • Sort hexadecimally
  • Sort lines by subselection - only one selection/caret per line is handled
  • Sort tokens (delimited text)
  • Shuffle Characters
  • JSON sort
  • Hierarchical sort

Align:

  • Align carets/selections into a vertical line by inserting spaces
  • Format selected text to columns/table by a chosen separator/delimiter and sort by columns
  • Align text to left/center/right

Filter/Remove/Trim/Minify/Convert...:

  • Grep
  • Inverted Grep
  • Group by Grep - matched lines will be separated from not matched
  • Trim
  • Trim Leading
  • Trim Trailing
  • Replace whitespaces with a single space char
  • Remove all spaces
  • Remove duplicates (supports multicaret subselection)
  • Keep only duplicate lines
  • Group and Count
  • Remove empty lines
  • Remove consecutive empty lines
  • Remove all newlines
  • Convert Between Char and Int
  • Minify JSON
  • Minify JavaScript
  • Convert Between JSON and YAML

Other:

  • Reverse Letters
  • Swap Words
  • Swap Characters/Selections/Lines/Tokens
  • Wrap or shift double quotes to single quotes to backticks
  • Swap between double quotes and single quotes
  • Straighten/Educate quotes
  • Switch file path separators: Windows<->UNIX

  • Select All Occurrences For All Carets
  • Extend Selection in Different "CamelHumps" Mode
  • Multi Replace
  • Duplicate and Multi Replace
  • Paste - camelCased
  • Paste - and Keep Selections
  • Create Border

Actions are available under Edit menu, or via the shortcut "alt M" and "alt shift M".
You can setup your own shortcuts for better usability.
Popup can be customized in File | Settings | Appearance & Behavior | Menus and Toolbars.



Donations | GitHub | Issues

What’s New

  • Fixed JSON sort
Nov 27, 2024
Version 9.15.0

Rating & Reviews

4.9
230 Ratings (4,505,854 Downloads)
5
4
3
2
1

mekins

07.01.2025

I love this thing! It saves me so much time converting my variable names that I would be lost without it. Plus, there's so many little time saving gems hidden throughout, like "Paste as PHP Array." I cannot stress enough how much I use this feature, or simple manipulations like "Capitalize," (basically Title Case). You'd be amazed at how nice it is to not have to constantly edit simple little fixes like this. Definitely worth the download.

+2

This extension is stupid, just like it's developer, biggest issue still it has this snake_case, it converts text like this - 'snake-case' which is a huge pain, includes useless and unimportant options that does the same thing wasted my time to navigate through.

-2

This extension is stupid, even it has this snake_case, it converts text like this - 'snake-case' which is a huge pain, includes useless and unimportant options that wastes my time to navigate through.

-1

Additional Information

Vendor:
Vojtěch Krása(Non-trader)
Plugin ID:
String Manipulation