Free tool
Webhook signature checker
Find out why your HMAC does not match. Everything is computed on your device.
Enter a secret and a body.
In your code
Yeetzo sends x-yeetzo-signature: sha256=<hex>, the HMAC-SHA256 of the raw body using the hook’s secret. Compare before parsing the JSON, using a constant-time comparison.
import { createHmac, timingSafeEqual } from 'node:crypto';
function valid(rawBody, header, secret) {
const want = Buffer.from('sha256=' +
createHmac('sha256', secret).update(rawBody).digest('hex'));
const got = Buffer.from(header || '');
return want.length === got.length && timingSafeEqual(want, got);
}A text box can change line endings, so paste the body exactly as your server logged it.
Write it once. Yeet it everywhere.
Free account, no card. Connect a channel and schedule your first post.