Welcome to the Cojoro: TextFormatter User Guide! This document provides detailed information on all features, including descriptions and examples, to help you make the most of this powerful text formatting tool.
Cojoro: TextFormatter is a versatile plain text-processing tool designed to help you quickly format, structure, and analyse text and numbers. It allows you to modify case styles, convert numbers into formatted numbers and words (including support for currency), count words and characters, and apply advanced transformations. Features include NATO phonetic conversion and character-to-index mapping for precise text structuring.
Text Area
Local Date and Time
Displays the current local date, time, and timezone in the textarea banner.
"Wed, Apr 02, 25 12:42:39 GMT" (displays current system time and timezone, e.g., GMT or BST)
Position Display
Shows the current cursor position or selected text range in the textarea as "Line: X, Column: Y" or "Lines: X-Y, Columns: A-B".
Cursor at "cat|dog" → "Line 1, Col 4"; Selection "cat| do|g" → "Lines 1-1, Cols 4-7"
Clear
Clears all text in the textarea instantly.
"cat dog" → empty
Wrap
Toggles text wrapping in the textarea, switching between wrapping lines and showing horizontal scrollbars.
"cat dog bird fish" → "cat\ndog\nbird\nfish" (wrap on) or horizontal scroll (wrap off)
Copy
Copies the current text in the textarea to the clipboard.
"cat dog" → copied to clipboard as "cat dog"
Paste
Pastes text from the clipboard into the textarea at the cursor position or replacing the selection.
Clipboard: "bird fish"\nTextarea: "cat |dog" → "cat bird fish dog" (pasted at cursor)
Dark Mode
Switches the application between light and dark modes, adjusting the theme for better visibility in different lighting conditions.
Light Mode: Moon icon → Click to switch to Dark Mode\nDark Mode: Sun icon → Click to switch to Light Mode
Textarea
Main input area where you type or paste text to format.
Type “cat dog” then use Clean Text to trim spaces.
Counters
Word
Counts distinct words in the textarea, separated by spaces.
"cat dog cat” → 3 words
Character
Shows total characters in the textarea, including spaces and punctuation.
"cat dog” → 7 characters
Number
Counts standalone numbers (whole or decimal) in the textarea.
"12 cat 3.14 dog” → 2 numbers
Digit
Tallies individual digits across all numbers in the textarea.
"12 cat 34” → 4 digits
Symbol
Counts special characters (e.g., @, #, £) in the textarea.
"cat#dog@” → 2 symbols
Punctuation
Counts punctuation marks (e.g., commas, full stops) in the textarea.
"cat, dog.” → 2 punctuation marks
Sentence
Estimates sentences in the textarea, based on full stops, exclamation, or question marks.
"Cat runs. Dog sleeps?” → 2 sentences
Paragraph
Counts paragraphs, typically separated by double line breaks.
"cat\ndog\n\nfish” → 2 paragraphs
Vowel
Counts vowels (a, e, i, o, u, case-insensitive) in the textarea.
"cat dog” → 2 vowels
Consonant
Counts consonants (non-vowel letters) in the textarea.
"cat dog” → 4 consonants
Blank Lines
Indicates the count of blank lines (empty lines with no characters) in the textarea.
"cat\n\ndog\n\nfish” → 2 blank lines
Spaces
Counts all space characters (excluding other whitespace like tabs) in the textarea.
"cat dog fish” → 2 spaces
Basic Actions
Reset Button
Triggers a confirmation to reset all settings to defaults and refresh the page. Clicking "Yes" performs a full wipe; "No" cancels the action.
Undo Button
Reverts your last changes—disabled until edits happen. Shows a special tooltip with the undone action, disappearing instantly on click.
Applies the selected cleaning options. Targets selected text if highlighted, otherwise the entire text.
Change Case
Change Case Button
Opens a dropdown to adjust text casing—upper, lower, title, or sentence.
Change Case Options
UPPER CASE
Converts all letters to uppercase.
"cat dog” → “CAT DOG”
lower case
Converts all letters to lowercase.
"CAT Dog” → “cat dog”
Sentence case
Capitalises the first letter of each sentence.
"cat dog. fish” → “Cat dog. Fish”
Capitalise Each Word
Capitalises the first letter of each word.
"cat dog” → “Cat Dog”
Title Case
Capitalises major words in a title.
"cat and dog” → “Cat and Dog”
Apply to Entire Text (Change Case) Button
Applies the selected casing option. Targets selected text if highlighted, otherwise the entire text.
Sortation
Sortation Button
Opens a scrollable dropdown menu with 10 sorting options—alphabetical, numeric, random, and more.
Sort Alphabetical
Sort A → Z
Sorts words alphabetically (A to Z, case-insensitive).
"dog cat bat” → “bat cat dog”
Sort Z → A
Sorts words reverse alphabetically (Z to A, case-insensitive).
"dog cat bat” → “dog cat bat”
Case-Sensitive A→Z
Sorts words alphabetically (A to Z, case-sensitive).
"Dog cat Bat” → “Bat Dog cat”
Case-Sensitive Z→A
Sorts words reverse alphabetically (Z to A, case-sensitive).
"Dog cat Bat” → “cat Dog Bat”
Sort Numeric
Sort Numeric Asc
Sorts numbers in ascending order (smallest to largest).
"5 2 10” → “2 5 10”
Sort Numeric Desc
Sorts numbers in descending order (largest to smallest).
"5 2 10” → “10 5 2”
Special Sorts
Natural Sort (Alpha-Numeric)
Sorts alpha-numeric text naturally.
"a10 a2 a1” → “a1 a2 a10”
Random/Shuffle
Shuffles words into a random order.
"cat dog bat” → (e.g.) “dog bat cat”
Sort by Word Length
Shortest to Long
Sorts words by length, shortest to longest.
"dog cat elephant” → “cat dog elephant”
Longest to Short
Sorts words by length, longest to shortest.
"dog cat elephant” → “elephant dog cat”
Apply to Entire Text (Sortation) Button
Applies the selected sorting option. Targets selected text if highlighted, otherwise the entire text.
Lists
Lists Button
Opens a scrollable dropdown menu to format text as numbered or bulleted lists.
List Structure
Apply to Words
Breaks text into individual words for list formatting.
"cat dog bat” → “1. cat\n2. dog\n3. bat”
Apply to Sentences
Breaks text into individual sentences for list formatting.
"Cat runs. Dog sleeps.” → “1. Cat runs.\n2. Dog sleeps.”
Apply to Paragraphs
Breaks text into full paragraphs for list formatting.
"Cat runs.\n\nDog sleeps.” → “1. Cat runs.\n2. Dog sleeps.”
Apply List To
Apply to Selected Text
Applies list format only to selected text.
Select “cat dog” in “cat dog bat” → “1. cat\n2. dog bat”
Apply to Entire Text
Applies list format to the entire text area.
"cat dog” → “1. cat\n2. dog”
List Style
Numbered List (1, 2, 3)
Creates a numbered list with digits.
"cat\ndog” → “1. cat\n2. dog”
Bulleted List (•)
Creates a bulleted list with dots.
"cat\ndog” → “• cat\n• dog”
Alphabetic List (a) b) c) ...)
Creates an alphabetic list with lowercase letters.
"cat\ndog” → “a) cat\nb) dog”
Dash List (-)
Creates a dash-separated list.
"cat\ndog” → “- cat\n- dog”
Asterisk List (*)
Creates an asterisk-separated list.
"cat\ndog” → “* cat\n* dog”
Custom Separator
Creates a list with a custom separator.
"cat\ndog” with “>” → “> cat\n> dog”
Custom Separator Input
Enter a custom separator (up to 3 characters) for list formatting.
Type “>>” → “>> cat\n>> dog”
Convert to List (Lists) Button
Applies the selected list formatting. Targets selected text if highlighted, otherwise follows Apply List To settings.
Find & Replace
Find & Replace Button
Opens a dropdown to search for text in the textarea and optionally replace matches. Supports case-sensitive, regex, and whole-word options.
Find & Replace options
Case Sensitive
When ticked, matches text with exact case (e.g., "Cat" won’t match "cat"). Currently case-insensitive.
Textarea: "Cat dog CAT"\nInput: "Cat" → "1 of 2 matches found" (future: only "Cat", not "cat")
Regex
When ticked, treats the input as a regular expression for advanced searches (e.g., "\\d+" for numbers). Not yet active.
Textarea: "Cat 123 dog 456"\nInput: "\\d+" → "1 of 2 matches found" (future: finds "123", "456")
Whole Word
When ticked, matches only complete words (e.g., "cat" won’t match "catch"). Not yet active.
Textarea: "cat catch dog"\nInput: "cat" → "1 of 1 matches found" (future: only "cat", not "catch")
Scope
Scope
Indicates if search is limited to selected text or spans the entire textarea. Not yet active (full text only).
Textarea: "Cat dog CAT"\nSelect: "dog CAT"\nInput: "cat" → "1 of 1 matches found" (future: within selection)
Search Selection
Toggles the search scope between the entire textarea (Entire Text) and the selected text (Selection Only). Enabled only when a selection exists in the textarea.
Textarea: "Cat dog CAT"\nSelect: "dog CAT" → Scope: Selection Only → Find: "cat" (Case Sensitive: off) → "1 of 1 matches found" (within selection: "CAT" matches)
Search
Reset Find Options
Resets all Find options, clearing the search term, replace text, and checkboxes (Case Sensitive, Regex, Whole Word, Scope).
Textarea: "Cat dog CAT"\nFind: "cat" (Case Sensitive: off), Replace: "bird" → Click Reset → Find and Replace inputs cleared, checkboxes unticked, scope reset to Entire Text.
Match Count Display
Shows the current match position and total matches found (e.g., "1 of 3 matches found").
Textarea: "Cat dog CAT cat"\nInput: "cat" → "1 of 3 matches found" (counts all "Cat"/"cat")
Find Input
Text box to enter the search term. Currently searches case-insensitively.
Textarea: "Cat dog CAT"\nInput: "cat" → Highlights first "Cat"
Replace Input
Text box to enter the replacement text for the Find and Replace feature. The Replace and Replace All buttons are enabled only when this field contains text, a search term exists, and matches are found.
Finds and highlights the first occurrence of the search term.
Textarea: "Cat dog CAT cat"\nInput: "cat" → Highlights first "Cat" (position 0)
Find Previous ↑ Button
Moves to and highlights the previous match, looping to the last if at the start.
Textarea: "Cat dog CAT cat"\nInput: "cat" → At "CAT" (2nd), clicks Previous → Highlights "Cat" (1st)
Find Next ↓ contagButton
Moves to and highlights the next match, looping to the first if at the end.
Textarea: "Cat dog CAT cat"\nInput: "cat" → At "Cat" (1st), clicks Next → Highlights "CAT" (2nd)
Find Last Button
Finds and highlights the last occurrence of the search term.
Textarea: "Cat dog CAT cat"\nInput: "cat" → Highlights last "cat" (position 9)
Replace Button
Replaces the currently highlighted match of the search term with the text in the Replace input. Requires a search term, at least one match, a highlighted match, and text in the Replace input to enable.
Textarea: "Cat dog CAT"\nFind: "cat" (Case Sensitive: off), Replace: "bird" → Click Find First → "Cat" highlighted → Click Replace → "bird dog CAT"
Replace All Button
Replaces all matches of the search term with the text in the Replace input. Requires a search term, at least one match, and text in the Replace input to enable.
Textarea: "Cat dog CAT cat"\nFind: "cat" (Case Sensitive: off), Replace: "bird" → Click Replace All → "bird dog bird bird"
Transformations
Number Formatter
The Number Formatter mode formats numerical input with commas and translates it into words, accommodating currency symbols (£, $, €). Entering a number, with or without decimals or a currency symbol, produces a "Standard Format" output, rounded to two decimal places (e.g., "£12,345.67"), and a "Full Precision" display, showing all digits (e.g., "12,345.6789"). It also generates a word representation in sentence case (e.g., "Twelve thousand three hundred and forty-five..."). The formatter supports numbers up to 303 digits, representing a centillion, provides digit statistics (whole and decimal counts), and disables other functions until the mode is exited. When currency is included, appropriate units are added, such as "pounds and pence" for the pound sterling.
"12345” → “12,345” (Full Precision) and “Twelve thousand, three hundred and forty-five” | “£7,285,678.76” → “£7,285,678.76” (Standard Format) and “Seven million, two hundred and eighty-five thousand, six hundred and seventy-eight pounds and seventy-six pence”
Character-to-Index Mapping (CtIM)
Toggles CtIM mode to map each character in your text to its position within words. Displays characters in colour-coded tiles (uppercase: bold green, numbers: blue, symbols: red) with indexes starting at 1 per word. Features zoom controls (in/out/reset, 0.5x–2x), drag scrolling, and a monospaced layout. Groups words visually, hides the text area and turns off other buttons until exited. The NATO Phonetics will be displayed in a tooltip if you hover over a tile.
"Hello World” → Tiles: “H(1) e(2) l(3) l(4) o(5)” and “W(1) o(2) r(3) l(4) d(5)” with zoom/drag options
NATO Phonetic
Enabling NATO mode transforms text into its NATO phonetic alphabet equivalents, for example, "A" becomes "Alfa". Each word is then presented with its corresponding phonetic breakdown in a scrollable, monospaced display. Character colour-coding is applied: uppercase letters are rendered in bold dark blue, numbers in blue, punctuation in green, and symbols in red. This functionality supports letters, digits, punctuation, and special symbols, maintaining the original case. Upon activation, the text area is hidden, and other buttons are disabled until the mode is exited.
"Hello 123!” → “HOTEL echo lima lima oscar ONE TWO THREE (exclamation_mark)” with word groups