Performs text manipulations using JavaScript, well known scripting language.
Case
-
Capitalize
Capitalizes the first letter of a string and downcases all the others.
Before:
my name is steve
After:
My Name Is Steve
-
lowercase
Downcases all letters of a string.
Before:
My name is Steve
After:
my name is steve
-
Title Case
Capitalizes all words, except small words like if, in, on, of and so on.
Before:
the chicago manual of style
After:
The Chicago Manual of Style
-
UPPERCASE
Uppercases all letters of a string.
Before:
My name is Steve
After:
MY NAME IS STEVE
Trim
-
LTrim
Removes leading whitespace.
Before:
" My name is Steve"
After:
"My name is Steve"
-
RTrim
Removes trailing whitespace.
Before:
"My name is Steve "
After:
"My name is Steve"
-
Trim
Returns a string with leading and trailing whitespace removed.
Before:
" My name is Steve "
After:
"My name is Steve"
Crypt
-
Calculate MD5 hash
Returns the MD5 hash of the given string.
Before:
Apple
After:
9f6290f4436e5a2351f12e03b6433c3c
-
Calculate SHA-1 hash
Returns the SHA-1 hash of the given string.
Before:
Apple
After:
476432a3e85a0aa21c23f5abd2975a89b6820d63
-
Encode to Base64
Encodes a string using Base64.
Before:
Apple
After:
QXBwbGU=
-
Decode from Base64
Decodes a Base64 encoded string to a byte string.
Before:
QXBwbGU=
After:
Apple
HTML
-
Convert Character to Decimal
Converts Character to Decimal.
Before:
Apple
After:
Apple
-
Convert Decimal to Character
Converts Decimal to Character.
Before:
Apple
After:
Apple
-
Convert Markdown to HTML
Converts Markdown formatted plain text to structurally valid XHTML (or HTML).
Before:
A First Level Header ==================== A Second Level Header --------------------- Now is the time for all good men to come to the aid of their country. This is just a regular paragraph. The quick brown fox jumped over the lazy dog's back. ### Header 3 > This is a blockquote. > > This is the second paragraph in the blockquote. > > ## This is an H2 in a blockquote
After:
<h1>A First Level Header</h1> <h2>A Second Level Header</h2> <p>Now is the time for all good men to come to the aid of their country. This is just a regular paragraph.</p> <p>The quick brown fox jumped over the lazy dog's back.</p> <h3>Header 3</h3> <blockquote> <p>This is a blockquote.</p> <p>This is the second paragraph in the blockquote.</p> <h2>This is an H2 in a blockquote</h2> </blockquote>
-
Encode URI component
Encodes a Uniform Resource Identifier (URI) component.
Before:
http://www.apple.com/
After:
http%3A%2F%2Fwww.apple.com%2F
-
Decode URI component
Decodes a Uniform Resource Identifier (URI) component.
Before:
http%3A%2F%2Fwww.apple.com%2F
After:
http://www.apple.com/
-
Escape HTML characters
Converts <, >, &, ", ' to HTML entities.
Before:
<a href="http://www.apple.com/">Apple</a>
After:
<a href="http://www.apple.com/">Apple</a>
-
Unescape HTML characters
Unescape HTML entities to characters.
Before:
<a href="http://www.apple.com/">Apple</a>
After:
<a href="http://www.apple.com/">Apple</a>
-
Strip Tags
Returns a string with all HTML tags stripped.
Before:
<a href="http://www.apple.com/">Apple</a>
After:
Apple
-
Surround with Tagsā¦
Surrounds text with HTML tags you entered in a dialog window.
line 1: your input is 'p'.
line 2: your input is 'h1 class="top"'.Before:
Apple Apple
After:
<p>Apple</p> <h1 class="top">Apple</h1>
Surround with
-
` `
Surrounds with ` and `.
Before:
Apple
After:
`Apple`
-
' '
Surrounds with ' and '.
Before:
Apple
After:
'Apple'
-
" "
Surrounds with " and ".
Before:
Apple
After:
"Apple"
-
( )
Surrounds with ( and ).
Before:
Apple
After:
(Apple)
-
[ ]
Surrounds with [ and ].
Before:
Apple
After:
[Apple]
-
{ }
Surrounds with { and }.
Before:
Apple
After:
{Apple}
-
< >
Surrounds with < and >.
Before:
Apple
After:
<Apple>
Others
-
Collapse Spaces
Collapses contiguous sequences of spaces to a single space.
Before:
" My name is Steve! "
After:
"My name is Steve!"
-
Reverse
Reverses the characters in the specified string.
Before:
Apple
After:
elppA