GALAXY OF TOOLS

TEXT SECTOR

Text Extractor

Pick what to pull out of any text — emails, links, phones, dates, times, IPs, hashtags, PIN codes or your own pattern.

.txt, .csv, .log, .md, .html, .json, .eml and other text files
What to extract
Options
TypeFoundNormalisedDetailsLine

Need more options for one kind? Use the Email Extractor, URL Extractor, Number Extractor, Hashtag Extractor or Mention Extractor.

Runs entirely in your browser. Nothing you enter or upload is sent to a server.

An all-in-one text extractor for contact details, dates and more

This text extractor scans any block of text and pulls out the structured details hidden in it — email addresses, web links, phone numbers, dates, times, IP addresses, hashtags, @mentions, Indian PIN codes, US ZIP codes and UK postcodes, plain numbers, or anything matching a regular expression you write. Tick the kinds you want and the results appear in one table, grouped by type, with the line each item came from.

Each value is also given a normalised form you can sort and match: phone numbers in international E.164 format (+919876543210), dates in ISO 8601 (2026-10-14), times on the 24-hour clock, IPv6 addresses in their standard compressed form, and links with https:// added where it was missing. Copy everything grouped by type, or download CSV or JSON for a spreadsheet or a script.

It runs entirely in your browser, which matters for the email threads, CRM exports and server logs people usually paste into a tool like this.

How to use the Text Extractor

  1. Paste text into “Text to search”, or press “Open a file” to load a .txt, .csv, .log, .html or .eml file.
  2. Under “What to extract”, tick the kinds of detail you need. “Select all” ticks every built-in type.
  3. Set how to read ambiguous values: the country for phone numbers written without +91, +1 or +44, and whether 03/04/2026 is 3 April or March 4.
  4. For anything else, tick “Custom pattern” and type a regular expression, with flags such as i for case-insensitive.
  5. Tap a type above the table to show only those results, then copy them or download a CSV or JSON file.

Text Extractor features

Eleven kinds of data

Emails, links, phones, dates, times, IPv4 and IPv6, hashtags, mentions, PIN/ZIP/postcodes, numbers and a custom pattern — in any combination.

Normalised values

E.164 phone numbers, ISO 8601 dates, 24-hour times and compressed IPv6 next to the text exactly as it was written.

No double counting

Each stretch of text belongs to one type: the digits of a date, a phone number or a PIN code are not listed again as numbers, and links win over everything inside them.

India, US and UK formats

98765 43210, (415) 555-0132 and +44 20 7946 0958 are all recognised; PIN codes are found after “PIN” or a place name, ZIP codes after a state code.

Safe custom patterns

Your regular expression runs in a separate background worker with a 1.5-second limit, so a pattern that would hang the page is stopped with an explanation.

Exports

Grouped plain text for the clipboard, a CSV with type, value, normalised value, details and line, and JSON keyed by type.

What each type finds

TypeExamples it recognisesNormalised as
Phone numbers+91 98765 43210 · 98765-43210 · (415) 555-0132 · 1-800-555-0199 · +44 20 7946 0958 · 07700 900123E.164: +919876543210, +14155550132, +442079460958
Dates14/10/2026 · 2026-10-14 · 14 October 2026 · Oct 14, 2026 · 14.10.26ISO 8601: 2026-10-14 (impossible dates such as 31/02 are skipped)
Times10:30 · 10:30:15 · 3:30 pm IST · 9am · 10.30 p.m.24-hour: 15:30 IST, 09:00, 22:30
IP addresses192.168.1.20 · 2001:0db8:0:0:0:ff00:42:8329 · ::1Compressed IPv6, plus private, public, loopback or documentation range
PIN / ZIP codesPIN: 110001 · Bengaluru, 560001 · CA 94105 · ZIP 10001-1234 · SW1A 1AA110001 (India PIN), 94105 (US ZIP), SW1A 1AA (UK)
Emails and linkspriya@example.com · https://example.com/a?b=1 · www.example.orgLower-case email; https:// added to www. links

How ambiguous text is resolved

Text is read in a fixed order — links, emails, IP addresses, dates, times, phone numbers, postal codes, mentions, hashtags, numbers — and a stretch of text taken by one type is not offered to the next. That is why “14/10/2026” is one date rather than three numbers, and why the 2001:db8 in an IPv6 address is not read as a time.

Numbers without a country code depend on your setting: with India selected, 020 7946 0958 is read as a Pune landline (+91 20…); with the UK selected it becomes a London number (+44 20…). A grouping such as 98765 43210 is always treated as an Indian mobile, and (415) 555-0132 as North American. Six-digit PIN codes and five-digit ZIP codes are only taken when a label, a state code or a place name gives them away, unless you allow any 5- or 6-digit number.

Writing a custom pattern

  • Patterns use JavaScript regular-expression syntax: \b[A-Z]{3}-\d{4}\b finds ticket references like ABC-1234, and INV-\d+ finds invoice numbers.
  • Add the flag i to ignore letter case, m so ^ and $ match at every line, s so a dot also matches line breaks and u for full Unicode.
  • Tick “Return only capture group 1” to keep just the bracketed part of each match, such as the prefix in ([A-Z]{3})-\d{4}.
  • Test and debug a pattern step by step in the Regex Tester, or let the Regex Generator build one for common formats.

Text Extractor FAQ

How do I extract phone numbers from text?

Paste the text, keep “Phone numbers” ticked and choose the country to assume for numbers written without a code. Every number is listed as found and in E.164 form, for example +919876543210, which most CRMs and messaging tools accept.

Can it extract dates in different formats?

Yes. Numeric dates with slashes, dashes or dots, ISO dates and written dates like “14 October 2026” or “Oct 14, 2026” are all found and converted to 2026-10-14. Use “Dates like 03/04/2026” to say whether the day or the month comes first.

What is the difference between this and the Email Extractor?

This text extractor finds many kinds of data at once. The dedicated Email, URL, Number, Hashtag and Mention extractors offer more options for one kind, such as domain filters, tracking-parameter removal or totals.

Why was a 6-digit number not listed as a PIN code?

To avoid treating every order number as a postal code, a PIN must follow a label (PIN, Pincode, Postal code) or a place name with a dash or comma. Tick “Any 5/6-digit number as ZIP/PIN” to take them all.

Is it safe to paste confidential text?

Yes. The text extractor runs in your browser; nothing you paste or open is uploaded or saved.

Can I use my own regular expression?

Tick “Custom pattern” and type it in. It runs in a background worker with a time limit, so a slow pattern cannot freeze the page, and errors in the pattern are explained.

You might also need