# Transforms

Rewrite, reformat, and clean up text — instantly, from anywhere.

Transforms let you select text in any app and apply an edit in one tap — reformat it, clean it up, rewrite the tone, translate it, or run it through a custom prompt.

There are two primary kinds:

- **Local transforms** — deterministic text transforms that run locally. Built-in local transforms are available to all users; custom Local JavaScript transforms require **Local Pro** or **Cloud Pro**.
- **AI transforms** — cloud AI prompt transforms for rewriting, summarizing, translating, and changing tone. Custom AI transforms require **Cloud Pro**.

## How to trigger a transform

**From the keyboard** — select text, switch to Nibit, tap the **Transforms** tab, and choose a transform. The selection is rewritten in place.

**From the system text menu** — select text in any app and look for **Nibit** in the context menu (the same menu that shows Cut/Copy/Paste). Nibit appears as a "Process text" option. No keyboard switching needed.

**Share to Nibit** — use Android's share sheet to send text to Nibit, then choose a transform to run on it.

**From the app home tab** — open the Nibit app and tap any transform from the home screen.

**From the quick hub** — transforms are available as a quick-access tile without switching keyboards.

## Local transforms

Local transforms are useful for formatting, cleanup, extraction, and repeatable edits that don't need AI.

Built-in local transforms run natively and are available on all plans. When equivalent JavaScript is available, any user can view/copy it. Local Pro and Cloud Pro users can also fork that source into their own custom Local JavaScript transform.

See [Built-in transforms](/transforms/built-in/) for the included native transforms, or [Custom Local JavaScript transforms](/transforms/custom-local-javascript/) to write your own.

## AI transforms

Use cloud AI to rewrite, improve, translate, or reformat text. Require **Cloud Pro**.

Built-in AI packs:

- **Writing Enhancement** — fix grammar, make concise, expand, improve clarity, summarize, bullet points, extract action items, generate reply
- **Tone Shift** — make professional, casual, friendly, direct, or persuasive
- **Translation** — translate to Spanish, French, German, Japanese, Chinese, and more

Install packs from **Settings → Starter packs**.

## Custom transforms

You can create two types of personal transforms:

- **Local JavaScript** — write `async function transform(input, nibit)` and return a string. Android authoring is available to Local Pro and Cloud Pro. Web dashboard authoring and sync require Cloud Pro.
- **AI prompt** — write a prompt template with placeholders like `{argument}` and `{clipboard}`. AI prompts require Cloud Pro.

Create them in **Nibit app → Transforms → +**, or from the Cloud Pro web dashboard.

See also: [Importing and exporting transforms](/transforms/import-export/).
