5 credits/request
Text Manipulation and Converter icon

Text Manipulation and Converter

Core Utility

Available Actions

remove-line-breaksremove-extra-spacessort-linesremove-duplicate-linesadd-quotestabs-to-spacesspaces-to-tabstrim-whitespaceremove-empty-linesnormalize-whitespaceindent-textdedent-textwrap-textunwrap-textreverse-lineschange-casereverse-textremove-accentsalternate-casesmart-case-detectcount-linescount-wordscount-characters

Details

Text Tools is a comprehensive text manipulation utility providing 23 operations across four categories: text manipulation, case conversion, special transformations, and counting. Text manipulation operations handle whitespace and line-level transformations. These include removing line breaks, collapsing extra spaces, sorting lines alphabetically (ascending or descending), removing duplicate lines while preserving order, adding quotes (single, double, or backtick) to each line, converting between tabs and spaces with configurable width (1–16), trimming whitespace from lines, removing empty lines, normalizing whitespace comprehensively, indenting and dedenting text, wrapping text at a specified column width (10–200), unwrapping text, and reversing line order. Case conversion supports 11 formats through a single action: camelCase, snake_case, PascalCase, kebab-case, SCREAMING_SNAKE_CASE, UPPERCASE, lowercase, Title Case, Sentence case, dot.case, and path/case. Special transformations include reversing text character-by-character, removing accents and diacritical marks (é becomes e), alternating case (aLtErNaTiNg), and detecting the case style of input text. Counting operations return line count, word count, and detailed character statistics including totals with and without spaces, letter count, digit count, and space count.

Use Cases

Converting variable names between programming language conventions, cleaning and normalizing imported data, meeting word or character count requirements, formatting text to specific column widths, sorting and deduplicating configuration lists, standardizing tabs versus spaces, generating quoted values for CSV or config files, creating URL slugs from Unicode text, detecting inconsistent naming conventions in codebases, preparing text for systems requiring ASCII-only input, batch formatting log files or text exports, removing accents for search indexing.

Workflows Using This Tool

Parameters

actionrequiredstring

Use 'get_instructions' to retrieve documentation. The text operation to perform. Available actions: Text Manipulation (remove-line-breaks, remove-extra-spaces, sort-lines, remove-duplicate-lines, add-quotes, tabs-to-spaces, spaces-to-tabs, trim-whitespace, remove-empty-lines, normalize-whitespace, indent-text, dedent-text, wrap-text, unwrap-text, reverse-lines), Case Conversion (change-case, reverse-text, remove-accents, alternate-case, smart-case-detect), Counting (count-lines, count-words, count-characters)

textstring

The input text to process. Required for all actions except get_instructions.

orderstring

Sort order for sort-lines action: 'asc' for ascending (default), 'desc' for descending

ascdesc
and 6 more parameters...

About The Developer

Apoth3osis logo

Apoth3osis

15 stars

Joined Agent Payment: August 14, 2025

We build tools that enable AI agents to excel in the mathematical realm.

Our small team develops experimental and unique solutions in the AI arena, with a strong focus on modular computing for agentic applications and custom model deployment. We have handled projects for a variety of applications across many sectors, from algorithmic trading and financial analysis, to molecular simulations and predictions, to habitat and biodiversity monitoring and wildlife conservation.