Skip to content

Work with data

Pretty-print JSON, convert tables, dates and amounts, open file paths, and look up one word.

Select JSON, a table, a date, an amount, a file path or one word, then open the Rite command. Rite reads the text as that kind of content, and the actions for it come first. Most of these actions do not ask the model.

  1. Select the data alone, with no other words around it.

  2. Press your hotkey for the Rite command. The title of the first section says what Rite reads the text as, such as “JSON” or “an amount”.

  3. Select a row in the first section after the text, and press ↵Linux Enter.

Rite reads the text as JSON when it starts with { or [, ends with } or ], and is valid JSON. Text that is not valid but has quoted keys is a guess: the title then says “JSON?”.

Action Runs Result What it does
Pretty-Print No model Replaces the text Replaces the selection with the JSON, indented by two spaces.
Minify No model Replaces the text Replaces the selection with the JSON on one line, with no spaces.
Explain the Structure Asks the model Shows the result Describes the fields, their kinds of value and what each most likely holds.
Write a TypeScript Type Asks the model Shows the result Writes a TypeScript type for the data.

Rite reads the text as a table when it has two or more lines. Each line must have the same number of tabs, semicolons or commas. A Markdown table, with | at the start and end of each line, is a table too. Commas are also in sentences and addresses. So a text with commas is a guess when it has fewer than three lines or long cells: the title then says “a table?”.

Action Runs Result What it does
Convert to a Markdown Table No model Replaces the text Replaces the selection with a Markdown table. The first row is the header.
Convert to CSV No model Replaces the text Replaces the selection with CSV. A cell with a comma, a quote or a line break gets double quotes.
Explain the Structure Asks the model Shows the result Describes the columns, what each holds, and anything unusual in the rows.

Rite reads one date or time, such as Nov 26, 2026, 2026-11-26T15:30:00Z, 3pm or next Friday. A date in numbers only, such as 26/11/2026, is a guess: the title then says “a date or time?”. Rite cannot tell which number is the day.

Action Runs Result What it does
Copy as ISO 8601 No model Copies the result Copies the date as ISO 8601. A date stays a date, and a date with a time becomes a time in UTC.
Copy in My Time Zone No model Copies the result Copies the date as your computer writes it, in its time zone. A time is added when the text has one.

For example, Copy as ISO 8601 copies 2026-11-26 for Nov 26, 2026. For 2026-11-26T15:30:00Z, it copies 2026-11-26T15:30:00.000Z.

A date that depends on today, such as next Friday or tomorrow at 3pm, cannot be converted. The toast then says “A date that depends on today cannot be converted”.

Rite reads a number with a unit or a currency symbol as an amount, such as 12 km, 72°F or $20. Convert No model opens the list In Other Units. Each row is the amount in one other unit. Press ↵Linux Enter on a row to copy it.

Kind Units
Length mm, cm, m, km, in, ft, yd, mi
Weight mg, g, kg, oz, lb
Volume ml, l, gal
Data size KB, MB, GB, TB
Temperature °C, °F, converted to each other and to kelvin
Speed mph, km/h, kph

Money, percentages and times are amounts too, but Convert has nothing for them. The toast then says “Money, percentages and times need rates or have nothing to convert to”.

Rite reads one path as a file path. Examples are /etc/hosts, ~/notes/todo.md, ./build.sh and src/app.ts. A path can end in a line and column, as in src/app.ts:12:5.

Action Runs Result What it does
Open the File No model Opens an app Opens the file in its default app.
Show in the File Manager No model Opens an app Shows the file in the file manager.
Copy the Absolute Path No model Copies the result Copies the path with ~ written out as your home folder.

Copy the Absolute Path copies a relative path, such as src/app.ts, as it is. Rite does not know the folder where it starts.

Rite reads one word of letters as a word. The word can have an apostrophe or a dash in it.

Action Runs Result What it does
Define Asks the model Shows the result Defines the word in one or two sentences, then uses it in an example sentence.
Synonyms Asks the model Shows the result Gives up to eight synonyms, most common first, each with a few words on how it differs.
Translate Asks the model A list Opens the list of languages. See Rewrite text.
Add to My Dictionary No model Saves the text Adds the word to your dictionary on this computer. Fixes then leave it unchanged.

After Add to My Dictionary, the toast says, for example, “Added “Vicinae” to the dictionary”. See Manage the dictionary.

  • A replace action closes the launcher, replaces the selection, and shows a toast such as “✅ Formatted in Zed” or “✅ Converted in Numbers”.
  • A copy action shows a toast such as “📋 Date · copied”, “📋 Amount · copied” or “📋 Path · copied”.
  • An action that asks the model opens an answer screen. Press ↵Linux Enter there to copy the answer.
  • The toast says “This is not valid JSON, so it cannot be formatted”. The JSON has a mistake. Fix it, or use Explain the Structure.
  • Rite reads the data as text. The selection has other words in it. Select the data alone.
  • The guess is wrong. For a guess, the last section, such as Not a table?, has the row Read as Plain Text.
  • See Troubleshooting.