---
title: Preview and compare files
project: TotalFiles
version: Latest
section: guides
language: en
license: 
url: https://totaljs.es/docs/totalfiles/latest/guides/preview-and-compare/
updated: 2026-12-02T15:40:36.075Z
---

# Preview and compare files

> Read a text file without opening it, and see what is different when both panels have a file with the same name.

## See a file

Click the name of the file and press Space. With the keyboard, go to the name with Tab.

The text appears in a window. It shows text files in UTF-8 of up to 256 KiB. With the others, it says why not: the file is larger, or it is not text.

## Compare two files

When both panels have a file with the same name, Space shows the two side by side: **Left** and **Right**, each with where it comes from.

- The lines that are only on the left have the sign **−**.
- The lines that are only on the right have the sign **+**.

Two long files, or very different ones, are shown without the signs.

It works with two folders of your computer, and with one of them on a server: it is a good look to have [before you publish](/totalfiles/latest/guides/publish/).

## See what has changed in a folder

With a server in one panel, the list of the other one has the column **Comparison**. It says what each file is, next to the one with the same name on the server:

| It says | What it means |
| --- | --- |
| **Local only** | The server does not have it |
| **Different size** | The two have another size |
| **Different date** | The same size, but another date. Uploading gives the file a new date on the server, so a file that you have uploaded says this too |
| **Same size and date** | Nothing has changed, as far as the size and the date say |
| **Different type** | One is a file and the other a folder |

To compare the subfolders too, [synchronize the two folders](/totalfiles/latest/guides/synchronize/): it shows what it would do before doing it.
