Skip to content

PDFs, spreadsheets and data files

Briefs, shot lists, budgets and config files usually arrive next to the footage. Kitlig opens them in the viewer like any other asset, so you don't have to leave the project to read a PDF or fix a cell.

Import them the same way as media: drag the file in, or use the import button. The viewer picks itself from the file name.

File What opens
.pdf The PDF viewer
.xlsx, .xlsm, .csv, .tsv The spreadsheet editor
.json, .yaml, .yml The data viewer, with Tree, Object, Nodes and Raw views

PDFs

Every page sits in one scrolling column. The bar along the top has the page number, zoom, and Fit Width, which keeps the page as wide as the panel while you resize it.

A PDF page is a picture, so its words are read separately:

  • Text opens a panel beside the page with the text of the page in view. Select it there, or use the copy button.
  • Find searches every page. Press Enter to jump to the next page with a match, and Shift+Enter to go back.
  • Save Text as Markdown and Save Text as Plain Text write the whole document's text as a new text asset in text/generated. Markdown puts each page under its own heading.

Copy to Clipboard and the screenshot button in the viewer toolbar take the page in view as an image.

As an operation

PDF To Text (Local) is in the operation picker under Extract Text. It does the same job as the Save Text buttons, and because it is an operation you can put it in a Workflow, run it in a Batch, or let an agent call it. It runs on your machine and uses no credits.

The Assistant and agents connected over MCP can also read a PDF or an Excel workbook directly when you attach it or point them at it.

Scanned PDFs have no text

A scan is a photo of a page. There are no words in it to read, so the Text panel is empty and saving the text fails with a note that says so. Kitlig does not do text recognition (OCR) here.

What the PDF viewer leaves out

You can't select text straight off the page, fill in forms, or open password-protected files. A PDF that relies on a standard font it doesn't carry may show a substitute font.

Spreadsheets

The grid works the way you expect. Click a cell to select it, and move with the arrow keys or Tab. Start typing to replace what a cell holds, or press Enter or F2 (or double-click) to edit it. Enter commits and moves down, Esc cancels, and Del clears the cell.

The bar along the top has Insert Row Above, Insert Row Below, Delete Row, Insert Column Left, Insert Column Right and Delete Column. They act on the selected cell's row or column. In a workbook, the tabs along the bottom switch sheets. Double-click a tab to rename it, use the small cross to delete it, and the plus to add one.

What you type decides the type of the cell:

  • A number becomes a number, and true or false becomes a checkbox value.
  • Text starting with = becomes a formula.
  • Start with an apostrophe to keep something as text, such as '007.

A sheet with one row per shot or per prompt can also drive a batch: see Create a batch from a file.

Nothing changes in the file until you click Save or press Ctrl+S. Undo (Ctrl+Z) steps back one edit, and Revert throws away everything since the last save.

Save before you open another file

Edits live in the viewer until you save. If you open a different asset first, they are discarded, and Kitlig tells you so.

Formulas are not calculated in Kitlig

A cell with a formula shows the result your spreadsheet app last worked out. A formula you type in Kitlig shows as its text until the file is next opened in a spreadsheet app, which calculates it. Inserting or deleting rows and columns does not rewrite the cell references inside other formulas.

Charts, pivot tables and macros do not survive a save

Cell values, formulas, fonts, fills and column widths are kept. Charts, pivot tables, slicers and macros are not. When a workbook has any of these, a line above the grid says so before you edit. Keep editing those workbooks in a spreadsheet app.

.csv and .tsv files are plain text. Every cell is text, there is one sheet, and the file keeps the line endings it came with. The old binary .xls format does not open: save it as .xlsx first.

JSON and YAML

A data file opens with four views of the same content. Change something in one and the others follow.

  • Tree shows the file as an outline you can fold. Click a value to edit it, double-click a key to rename it, and hover a row for the add and delete buttons. Find a key or value lists every match, and clicking one opens the outline down to it.
  • Object shows one object or list at a time as a form, with a type menu for each value. A list of objects becomes a table, with Table and List to switch. The path along the top takes you back up.
  • Nodes draws the file as boxes joined by lines, one box per object or list. Click a box to select it, and double-click to open it in the Object view. This view is for reading the shape of a file, so editing happens in the other three.
  • Raw is the text itself in a code editor. For JSON, Format tidies the indentation.

Typing a value follows the same idea as the spreadsheet: 12 is a number, true is true, null is empty. To keep one of those as text, wrap it in double quotes.

Save writes exactly what the Raw view shows, and it refuses while the text is not valid. YAML comments and key order are kept when you edit in the Tree or Object views. JSON is written back with the indentation the file already used.

Very large files open as text

Past roughly 8 million characters, only the Raw view is offered. The Nodes view draws at most 400 boxes and says when it has left some off.

Linked files

A file that is linked from outside the project opens for reading only. Use Make Local first if you want to edit it here.