---
name: hash-generator
description: "Hash Text/File (Hash Text/File) via devops.majbase.com's free public API, no key required. Keywords: md5 sha256 hash generator, hash a file, хеш на файл, checksum."
---

# Hash Text/File

Hash Text/File. Calls devops.majbase.com's free public API — no API key or authentication required.

## Endpoint

```
POST https://devops.majbase.com/hash-generator/api
```

## Request / Response

```
API: POST /hash-generator/api
  text=<string>          (one of text/file required)
  file=@<file>            (multipart/form-data, max 20 MB)
Returns {"md5", "sha1", "sha256", "sha512"}, or {"error": "..."}.
```

## Example

```bash
curl -sS -X POST https://devops.majbase.com/hash-generator/api -F "text=hello world"
curl -sS -X POST https://devops.majbase.com/hash-generator/api -F "file=@document.pdf"
```

## Notes

- No API key or authentication required.
- Full interactive tool: https://devops.majbase.com/hash-generator/
