Will contain multiple novel chapters plain text format file name to the file first line title for bulk change
Translation:EnglishFrançaisDeutschEspañol日本語한국어,Updated on:2025-06-07 20:22
When there are a large number of txt text files, each file contains a chapter in a novel, the first line of which is the title of the novel. When there are too many plain text files, the file name needs to be modified according to the title content of the first line of the book chapter in the file. Opening and viewing the title one by one and then renaming it not only wastes time, but also reduces the efficiency of our operation. The following describes how to replace the file name of the txt file with the content of the first line in the text file in batch.
1. Use Scenarios
modify the file name of a txt, plain text file to any number of characters in the first line of the file.
For example: Novel Chapters 1.txt, Novel Chapters 2.txt, Novel Chapters 3.txt three txt plain text files
The title of the first line of the article needs to be replaced with the file name, The turning point of fate, Misty mystery, The Call of the Brave.
The turning point of fate.txt, Misty mysery.txt, The Call of the Brave.txt
2. Effect preview
before treatment:
after treatment:
3. Operation steps
open 【HeSoft Doc Batch Tool], select [File Name]-[Rename Text File with First Line]].

[Add File] Add single or multiple notepad and plain text files that need to be renamed.
[Import File from Folder] Import a folder containing a large number of notepad and plain text files that need to be renamed.
You can also drag files directly below. Then click Next.

[Only intercept the first how many characters?] 1 letter for 1 character, need to take the number of words of the content on the number of input characters. If the entire content of the first row is selected, it is empty.

After waiting for the processing to complete, click Save Location to view the renamed text file.
