Text tools
The five tools under Text Tools change or measure plain text: letter case, counts, duplicate lines, Base64 and URL encoding.
Each tool has an Input box with Paste and Clear icons and, except the counter, an Output box with a Copy icon.
Case Converter
Changes the letter case of your text, or turns a phrase into a programming-style name.
Open Case Converter and enter text in Input.
Select one of the nine buttons.
Copy the result from Output.
| Button | hello big world becomes |
|---|---|
| UPPERCASE | HELLO BIG WORLD |
| lowercase | hello big world |
| Title Case | Hello Big World |
| Sentence case | Hello big world |
| camelCase | helloBigWorld |
| PascalCase | HelloBigWorld |
| snake_case | hello_big_world |
| kebab-case | hello-big-world |
| CONSTANT_CASE | HELLO_BIG_WORLD |
The last five buttons split the input into words at spaces, underscores, hyphens and at a lower-case letter followed by a capital. So userFirstName, user-first-name and user first name all convert to the same result.
Good to know
The five name-style buttons treat line breaks as spaces, so several lines become one name. Convert one name at a time. Sentence case starts a new sentence after ., !, ? or a line break.
Word & Character Counter
Counts as you type. There is no button.
Open Word & Character Counter and type or paste text. Six numbers update below the box:
| Counter | What it counts |
|---|---|
| Characters | Every character, including spaces and line breaks |
| No spaces | Characters without spaces, tabs and line breaks |
| Words | Runs of characters separated by white space |
| Lines | Lines, including empty ones |
| Sentences | Pieces of text that end in ., ! or ? |
| Paragraphs | Blocks of text separated by an empty line |
Remove Duplicate Lines
Keeps the first copy of each line and removes later repeats. The order of the remaining lines does not change.
Open Remove Duplicate Lines and paste a list, one entry per line.
Choose the options you want (see the table).
Select Remove duplicates.
The output heading shows how many lines were dropped, for example Output (3 removed).
| Option | Default | What it does |
|---|---|---|
| Trim whitespace | On | Ignores spaces at the start and end of a line when comparing. The kept line is written exactly as you typed it. |
| Ignore case | Off | Treats Apple and apple as the same line. |
| Drop empty lines | Off | Removes blank lines as well. |
Base64 Encode / Decode
Base64 writes any data using only letters, digits and a few symbols. It is how tokens, small images and email attachments are carried as text. It is an encoding, not encryption: anyone can decode it.
Open Base64 Encode / Decode and enter text or Base64 in Input.
Select Encode to turn text into Base64, or Decode to turn Base64 back into text.
Copy the result from Output.
Turn on URL-safe alphabet to encode with - and _ instead of + and /. That variant is used in URLs and in JWTs.
When decoding, you do not need the switch: the tool recognises URL-safe input, and it accepts input whose = padding is missing. If the input is not Base64, or decodes to something that is not text, the output shows Invalid Base64 input and the reason.
The tool works with text (UTF-8). It does not open files.
URL Encode / Decode
Percent-encoding replaces characters that are not allowed in a URL with % codes, for example a space becomes %20.
Open URL Encode / Decode and enter text or a URL in Input.
Select Encode or Decode.
Copy the result from Output.
The switch Encode all reserved characters decides how much is encoded:
| Switch | Use it for | a b&c=/d becomes |
|---|---|---|
| On (default) | One value that goes inside a URL, such as a query parameter | a%20b%26c%3D%2Fd |
| Off | A whole URL whose / ? & = : must keep working | a%20b&c=/d |
If the input contains a broken % code, Decode shows Invalid percent-encoding and the reason.
Next steps
- JSON tools
- Web tools for the URL Parser
- HTTP basics