# Generador de HMAC

> Firma texto con una clave HMAC que permanece local.

[Open tool](https://www.toolcabana.com/es/hmac-generator) · [Desarrollo y datos](https://www.toolcabana.com/es/category/developer-and-data)

Tool ID: hmac-generator. Requested language: es. Description language: es. Complete guide translation: yes.

## Overview (en)

HMAC generator signs a message with a secret key and returns the HMAC using SHA-256, SHA-384 or SHA-512. Both the message and the secret are read as exact UTF-8 bytes. The result can be lowercase hex, uppercase hex or Base64, which helps when checking webhook or API signatures.

## Supported tasks (es)

Firma texto con una clave HMAC que permanece local.

## Steps (es)

1. Pega la fuente en el editor de entrada o carga el ejemplo integrado.
2. Ajusta la configuración básica y abre el modo avanzado para opciones de exportación y ajuste fino. La configuración personalizada sigue activa al cerrar el panel.
3. Ejecuta el generador de HMAC, revisa la salida y usa los controles disponibles para copiar o descargar.

## Settings

- Clave secreta (permanece en tu navegador) (es; key: secret; type: text)
- Algoritmo (es; key: algorithm; type: select): SHA-256 [es], SHA-384 [es], SHA-512 [es]
- Formato de huella (es; key: digestFormat; type: select): hex [es], HEX [es], base64 [es]

## Limitations (es)

Las operaciones de texto aceptan generalmente hasta 2,000,000 caracteres. Los analizadores, generadores y fórmulas individuales aplican límites adicionales que muestran sus controles.

## Example input

```text
Hello ToolCabana
```

## Privacy and connections (es)

Esta operación procesa su fuente en tu navegador. Copiar y descargar son acciones explícitas; la entrada de origen no se guarda en una cuenta ni en un historial.

## Questions (es)

### How do I generate an HMAC SHA-256 signature?

Paste the message, enter the secret key and keep the algorithm set to SHA-256, then run the tool. The output is the keyed HMAC of the message, not a plain hash.

### Is my HMAC secret key encoded as hex or text?

The secret is used as the exact UTF-8 bytes of what you type. A hex or Base64 key string is not decoded first, so enter the key in the form your system uses.

### Can I get the HMAC output in Base64?

Yes. Open Advanced mode and set Digest format to base64. Lowercase hex is the default, and uppercase HEX is also available.

### ¿Dónde se procesa mi entrada?

Esta operación procesa su fuente en tu navegador. Copiar y descargar son acciones explícitas; la entrada de origen no se guarda en una cuenta ni en un historial.

### ¿Cuáles son los límites de entrada?

Las operaciones de texto aceptan generalmente hasta 2,000,000 caracteres. Los analizadores, generadores y fórmulas individuales aplican límites adicionales que muestran sus controles.

## Related tools

- [ULID generator](https://www.toolcabana.com/es/ulid-generator)
- [UUID generator](https://www.toolcabana.com/es/uuid-generator)
- [File checksum verifier](https://www.toolcabana.com/es/file-checksum)
- [JSON schema validator](https://www.toolcabana.com/es/json-schema)
