Categories

Text File Searcher

Search for text patterns in files with advanced options (regex, case-sensitive, whole word, etc.)

Click to upload file or drag and drop file here

Maximum file size: 10MB

Key Facts

Category
Utilities
Input Types
file, text, select, checkbox, number
Output Type
file
Sample Coverage
4
API Ready
Yes

Overview

Text File Searcher is an online utilities tool for search for text patterns in files with advanced options (regex, case-sensitive, whole word, etc.). It is especially useful when working with text, regex content.

When to Use

  • Use it when you need to process text, regex content quickly in the browser.
  • Helpful for utilities workflows that need repeatable inputs and fast results.
  • A good fit when you want to test with real files before running the same workflow in code or API calls.

How It Works

  • Provide File Path, Search Text, Search Type, Case Sensitive as input to the tool.
  • The tool processes the request and returns a file result.
  • For file workflows, start with representative samples such as text, regex test files to verify edge cases and output quality.

Use Cases

Process text, regex data during debugging or QA.
Validate expected output before using the API or automation flows.
Test the workflow with representative sample files and edge cases.

Try with Samples

text, regex, file

Related Hubs

FAQ

What does Text File Searcher do?

Text File Searcher helps you process text, regex content online without setting up a separate local script or app.

When should I use this tool?

Use it when you need a quick process workflow, want to verify output, or need a browser-based utility for utilities tasks.

Can I try this tool with sample data?

Yes. This page can recommend related sample files so you can test the workflow immediately.

What inputs does Text File Searcher accept?

Text File Searcher accepts File Path, Search Text, Search Type, Case Sensitive and supports file uploads for 1 field.

Is there an API for Text File Searcher?

Yes. The tool page includes an API endpoint so you can move from manual testing to scripted usage.

API Documentation

Request Endpoint

POST /en/api/tools/text-file-searcher

Request Parameters

Parameter Name Type Required Description
filePath file (Upload required) Yes -
searchText text Yes -
searchType select No -
caseSensitive checkbox No -
wholeWord checkbox No -
regex checkbox No -
includeLineNumbers checkbox No -
maxResults number No -
outputFormat select No -

File type parameters need to be uploaded first via POST /upload/text-file-searcher to get filePath, then pass filePath to the corresponding file field.

Response Format

{
  "filePath": "/public/processing/randomid.ext",
  "fileName": "output.ext",
  "contentType": "application/octet-stream",
  "size": 1024,
  "metadata": {
    "key": "value"
  },
  "error": "Error message (optional)",
  "message": "Notification message (optional)"
}
File: File

AI MCP Documentation

Add this tool to your MCP server configuration:

{
  "mcpServers": {
    "elysiatools-text-file-searcher": {
      "name": "text-file-searcher",
      "description": "Search for text patterns in files with advanced options (regex, case-sensitive, whole word, etc.)",
      "baseUrl": "https://elysiatools.com/mcp/sse?toolId=text-file-searcher",
      "command": "",
      "args": [],
      "env": {},
      "isActive": true,
      "type": "sse"
    }
  }
}

You can chain multiple tools, e.g.: `https://elysiatools.com/mcp/sse?toolId=png-to-webp,jpg-to-webp,gif-to-webp`, max 20 tools.

Supports URL file links or Base64 encoding for file parameters.

If you encounter any issues, please contact us at [email protected]