Anyfile
Open file
.safetensorsTypical support level 4

Open Safetensors Weights Online

Inspect a safetensors model's tensor list, dtypes and metadata without uploading multi-gigabyte weights. Free, with no uploads, signup or software installation.

Choose a .safetensors file

Your file stays on this device

Choose a file to view it in your browser. No signup or software installation needed. Your file stays on your device and is never uploaded.

What Anyfile can show

  • Tensor names with dtype, shape and size
  • Total parameter count and weight size
  • Embedded __metadata__ key-values

Limits and conditions

  • Tensor values are not loaded and no inference is performed
  • Headers above 100 MiB are rejected

IMPLEMENTATION

Viewers responsible for this format

A .safetensors file starts with an 8-byte little-endian header length and a JSON table listing every tensor's dtype, shape and byte range, followed by raw data. Anyfile reads only that header, so multi-gigabyte models open instantly and never leave your device.

ML model weights viewer
ML model weights viewer: explore supported file formats, viewing limits and open-source credits. Your files are never uploaded.
See implementation and open-source credits

Common question

Does opening a safetensors file upload the weights?

No. Only the small JSON header is read in the browser; the weight data stays on your device and is never sent anywhere.