File types / Archives

.rar file

RAR archive

Extensions
.rar
MIME type
application/vnd.rar
Signature
52 61 72 21 1A 07 00  (Rar!...)at byte offset 0
Safety
Open with care

What is a .rar file?

RAR is a compressed archive format that usually compresses better than ZIP and supports splitting an archive across several files.

Version 4 files start 52 61 72 21 1A 07 00. Version 5 files start 52 61 72 21 1A 07 01 00.

Used for: Compressed downloads and multi-part archives.

How can I tell if a file is really a RAR?

Read its first bytes rather than trusting the name. A genuine RAR file has the signature 52 61 72 21 1A 07 00 (Rar!...) at byte offset 0. RAR 5 starts 52 61 72 21 1A 07 01 00. The File Identity tool reads these bytes in your browser, so the file is never uploaded.

To compare the name against the content, use Validate Extension. To see the raw bytes, use Safe File Preview.

Is a .rar file safe to open?

As with any archive, the risk is what is inside. Extract untrusted archives into an empty folder and inspect before running anything.

Easy to confuse

Creating RAR files needs WinRAR, but most tools can open them.