All-in-One Text Processing Toolkit

Help & Tutorials

This page provides detailed instructions for all features to help you get started and make the most of the toolkit.

Quick Start

Welcome to the All-in-One Text Processing Toolkit! This is a front-end only text processing toolset where all operations are performed locally in your browser, ensuring data security.

1. Input Text

You can directly paste or enter the text you want to process in the left input box, or import text files through the upload button at the top or by dragging and dropping files.

2. Select Function

Select the text processing function you need from the left navigation bar, such as text deduplication, batch replacement, etc.

3. Set Parameters

Configure the corresponding processing parameters in the middle settings area based on the selected function.

4. Process Text

Click the "Process Text" button, and the processing results will be displayed in the output area on the right.

5. Get Results

You can copy the processed text or download it as a TXT file to save.

Core Features Explained

Text Deduplication

Used to remove duplicate content in text, supporting two deduplication modes:

Line-based Deduplication

Removes identical lines in the text, suitable for processing lists, keywords, etc.

Paragraph-based Deduplication

Splits the text by paragraphs and removes duplicate paragraphs, suitable for processing document content.

Preserve Order Option

When enabled, deduplication results will maintain the order of first occurrence of each part in the original text.

Example Usage:

Input:
Apple
Banana
Apple
Orange

Output (with Preserve Order):
Apple
Banana
Orange

Batch Replacement

Supports setting multiple replacement rules simultaneously for batch text replacement processing.

Add Replacement Rules

Click the "Add Rule" button to add multiple replacement rules, each containing find content and replace content.

Regular Expressions

After checking the "Use Regular Expressions" option, you can use regular expressions for advanced matching.

Example Usage:

Rule 1: Find "Apple" → Replace with "Apple1"
Rule 2: Find "Banana" → Replace with "Banana2"

Input: I like Apple and Banana.
Output: I like Apple1 and Banana2.

Text Splitting

Split large text into multiple parts, supporting three splitting modes:

Split by Line Count

Every N lines as a split unit, suitable for processing structured data.

Split by Character Count

Every N characters as a split unit, suitable for limiting text length.

Split by Keyword

Split using specified keywords as separators, suitable for processing paragraphs or chapters.

Example (Split by Line Count, 2 lines per split):

Input:
Line 1
Line 2
Line 3
Line 4

Output:
----- Split Result 1 ----- Line 1 Line 2
----- Split Result 2 ----- Line 3 Line 4

Text Merging

Merge multiple lines or paragraphs into a continuous text, supporting custom separators.

Separator Settings

You can set the connector between parts in the merged text, which defaults to a newline character.

Merge with Deduplication

When enabled, duplicate parts will be automatically removed during merging.

Example (Using comma as separator):

Input:
Apple
Banana
Orange

Output: Apple,Banana,Orange

Additional Features Explained

Character Statistics

Real-time statistics of character count in text, including the following dimensions:

  • Total characters (including spaces and punctuation)
  • Pure characters (excluding spaces)
  • Chinese character count
  • English character count
  • Number character count
  • Punctuation count
  • Space count
  • Line count
  • Paragraph count

Text Format Conversion

Provides conversion functionality between multiple text formats:

TXT to Markdown

Automatically converts plain text to basic Markdown format, such as titles, lists, etc.

Markdown to TXT

Removes Markdown markers and converts to plain text format.

Line Ending Conversion

Supports mutual conversion between three line ending formats: Windows (CRLF), Mac (CR), and Linux (LF).

Remove Extra Spaces/Empty Lines

Compresses multiple consecutive spaces into a single space and removes extra empty lines.

Sensitive Word Filtering

Used to detect and filter sensitive words in text, supporting custom sensitive word libraries.

Word Library Management

You can add, delete sensitive words, or import/export sensitive word library files.

Filtering Methods

Supports replacing sensitive words (default with *) or directly deleting sensitive words.

Example Usage:

Sensitive word library: ["violation", "inappropriate"]

Input: This contains violation and inappropriate content.
Output (replace mode): This contains ** and ** content.
Output (delete mode): This contains and content.

Text Encryption & Decryption

Provides basic text encryption and decryption functions, all encryption is performed locally and keys are not uploaded.

Base64 Encoding/Decoding

Converts text to Base64 encoded format or decodes Base64 encoded text.

AES Encryption/Decryption

Uses AES algorithm to encrypt and decrypt text, requiring a key to be set. Note: Please keep your key secure!

Security Note:

AES encryption keys are only stored in the current browser session and will be lost when the page is closed. Please be sure to remember your key, otherwise you will not be able to decrypt encrypted text.

Usage Tips

Keyboard Shortcuts

Press Ctrl+Enter to quickly execute the currently selected text processing function.

Offline Use

This tool supports PWA offline use. In Chrome or Edge browsers, you can click the "Install" button on the right side of the address bar to install the tool locally.

History Records

The right panel provides history records of the last 10 operations, which you can click to quickly restore previous inputs and settings.

Dark Mode

Click the moon/sun icon in the top navigation bar to switch between dark/light modes, reducing visual fatigue during extended use.

Large File Processing

For very large text files (over 10MB), it is recommended to process them in segments for better performance.

Frequently Asked Questions

Q: Is my text data secure?

A: Completely secure. All text processing operations are performed locally in your browser and will not be uploaded to any server.

Q: Will the input text be lost after refreshing the page?

A: No. The tool automatically saves your input text to the browser's localStorage, and it will be automatically restored after refreshing the page.

Q: How large text files can be processed?

A: In theory, it can process text from a few MB to several tens of MB, but processing speed varies depending on browser performance and device configuration. For extremely large files, it is recommended to process them in segments.

Q: Which browsers are supported?

A: Supports all modern browsers, including Chrome, Firefox, Safari, Edge, etc. For the best experience, it is recommended to use the latest versions of Chrome or Edge.

Q: How to use it on mobile devices?

A: The tool has been responsive optimized for mobile devices, and you can use it directly in your phone or tablet browser. Click the menu button in the upper left corner to expand the function navigation.