Features & Functions

A guide to using CaseMagic.

Core Features

  • Live Preview: See your text convert in real-time as you type.
  • Clear Text: Easily clear both input and output text areas with a single click.
  • Copy to Clipboard: Quickly copy the converted text to your clipboard.
  • Multiple Case Conversions:
    • Lowercase, UPPERCASE, Title Case
    • camelCase, PascalCase
    • snake_case, kebab-case

Additional Utilities

  • Custom Delimiter: Split your text by spaces/newlines and join it with a custom delimiter (e.g., a comma). You can use special characters like `\n` for newline or `\t` for tab.
  • Replace Text: Find all occurrences of a specific text string in your input and replace them with another string.

Advanced Functions

For more complex tasks, the "Advanced Functions" section provides a powerful multi-step transformation engine that works entirely in your browser, ensuring your data remains private.

1. Upload Data

Instead of pasting text, you can upload a plain text (`.txt`) or CSV (`.csv`) file for processing. Please note, for performance reasons, we recommend using files under 10 MB.

2. Configure Transformations

You can define a sequence of transformations to be applied in order. You have two ways to do this:

  • Manual UI Configuration:

    Use the UI to add up to 10 transformation steps. For each step, you can select an operation and provide the necessary parameters.

  • File Configuration (Overrides Manual):

    For reusable or complex pipelines, you can upload a CSV configuration file. This file will override any steps defined in the UI.

Transformation Operations

  • Replace: Finds all exact occurrences of a string in the "Find" field and replaces them with the string in the "Replace With" field.
  • Merge: Splits the entire text by the "Split By" delimiter and then joins it back together using the "Join With" delimiter.
  • Ignore (Optional): In any step, you can specify a single text literal (like a specific word or character combination, e.g., `, `) in the "Ignore" field. This literal will be protected from being changed during that specific step. This is useful for preserving certain patterns while transforming the rest of the text.

3. Generate & Download

  • Generate Output: After configuring your data and transformations, click this to process the file. The result will appear in the main "Output Text" area.
  • Download Output: Download the processed text as a `.csv`, `.json`, or `.txt` file.
  • Generate Config: Creates and downloads a configuration CSV file based on the transformation steps you've set up in the UI. This allows you to save and reuse your pipelines later.