Flag of Ukraine
Our /file/hash Robot

Hash Files

🤖/file/hash hashes files in Assemblies.

This Robot allows you to hash any file as part of the Assembly execution process. This can be useful for verifying the integrity of a file for example.

Usage example

Hash each uploaded file using the SHA-1 algorithm:

  "steps": {
    "hashed": {
      "robot": "/file/hash",
      "use": ":original",
      "algorithm": "sha1"


  • use

    String / Array of Strings / Object required

    Specifies which Step(s) to use as input.

    • You can pick any names for Steps except ":original" (reserved for user uploads handled by Transloadit)

    • You can provide several Steps as input with arrays:

      "use": [

    💡 That’s likely all you need to know about use, but you can view Advanced use cases.

  • algorithm

    String⋅ example: "sha256"

    The hashing algorithm to use. Supported values are "b2", "md5", "sha1", "sha224", "sha256", "sha384" and "sha512".

    The file hash is exported as file.meta.hash.

Related blog posts