Text Transformer
Text encoding, decoding, and transformation utilities powered by Node.js built-in modules.
Features
| Operation | Command | Description |
|---|---|---|
| Base64 Encode | --base64-encode "<text>" |
Base64 encode text |
| Base64 Decode | --base64-decode "<text>" |
Base64 decode text |
| URL Encode | --url-encode "<text>" |
URL encode (encodeURIComponent) |
| URL Decode | --url-decode "<text>" |
URL decode (decodeURIComponent) |
| HTML Encode | --html-encode "<text>" |
HTML entity encode |
| HTML Decode | --html-decode "<text>" |
HTML entity decode |
| Hash | --hash "<text>" [--algo md5|sha1|sha256|sha512] |
Hash text (default: sha256) |
| Uppercase | --upper "<text>" |
Convert to UPPERCASE |
| Lowercase | --lower "<text>" |
Convert to lowercase |
| Title Case | --title "<text>" |
Convert to Title Case |
| camelCase | --camel "<text>" |
Convert to camelCase |
| snake_case | --snake "<text>" |
Convert to snake_case |
| kebab-case | --kebab "<text>" |
Convert to kebab-case |
| Reverse | --reverse "<text>" |
Reverse the string |
| Count | --count "<text>" |
Character, word, and line count |
| Trim | --trim "<text>" |
Trim leading/trailing whitespace |
| Slug | --slug "<text>" |
URL-friendly slug (lowercase, hyphens) |