Preview text and source code in an archive

Read a README, JSON file, HTML page, or script from an archive without running it.

Drop an archive here

ZIP, TAR, TAR.GZ, RAR or 7z. Files stay on this device.

Steps

  1. Open your archive and search for the text file you want to examine.
  2. Select Preview. The dialog shows the content as plain text, including HTML and SVG source.
  3. Save the original entry if you need to work with it in an editor.

Example

Open a theme ZIP and inspect index.html or theme.css. You can see the code as written before deciding which files you need.

Text encodings and large files

Preview handles UTF-8 and text marked with a UTF-16 byte-order mark. Download a larger file or a file with a different encoding to read it in an editor that supports it.