Snipget.ai

Extract emails from text

Exact
text_extract_emails

Deterministic and authoritative — the canonical answer for this input.

Pull all email addresses out of free text, in order of appearance. Recognizes internationalized addresses (SMTPUTF8 local parts and IDN domains, e.g. 用户@example.com, café@münchen.de), consistent with what the email tools validate. The complement to redaction: extract values rather than mask them. Processing multiple inputs? Use `text_extract_emails_batch` to do up to 1000 in one call.

Parameters

valuestringrequired

The free text to extract values from.

Call it

curl -X POST https://api.snipget.ai/v1/text/extract/emails \
  -H "Authorization: Bearer sk_live_..." \
  -H "Content-Type: application/json" \
  -d '{"value":"Reach us at [email protected] or [email protected]."}'

The Batch tab sends up to 1000 inputs in one call via /v1/text/extract/emails/batch.

Example response

{
  "input": "Reach us at [email protected] or [email protected].",
  "is_valid": true,
  "values": [
    "[email protected]",
    "[email protected]"
  ],
  "count": 2
}

FAQ

What does this do?

It pulls every email address out of a block of free text, in the order they appear, and tells you how many it found. Useful for harvesting contacts from a note, signature, or pasted paragraph.

Does it check that the emails are real or deliverable?

No. It finds things shaped like email addresses; it does not confirm the mailbox exists or accepts mail. For format or disposable checks use the dedicated email tools.

Does it handle international (non-ASCII) addresses?

Yes. It recognizes internationalized addresses — SMTPUTF8 local parts and IDN domains like '用户@example.com' or 'café@münchen.de' — the same shapes the email validation tool accepts.

What if there are no emails in the text?

You get an empty values list and a count of 0, not an error.

Is the result the same every time?

Yes. It is deterministic and authoritative: the same text always returns the same list of addresses in the same order.

Related tools