• ARTICLE
  • STRING
  • CONVERTER
  • ENCRYPT
  • NETWORK
  • MORE
    CHART
    MATH
    COORDINATE
    IMAGE
    FILE
  • ARTICLE
    STRING
    CONVERTER
    ENCRYPT
    NETWORK
    MORE
    CHART
    MATH
    COORDINATE
    IMAGE
    FILE
logo Online Tools
0 Comments Favorite Copy Link Share

Batch File Rename Online


Using browser capabilities to process, your files will not be uploaded to the cloud.
Click the button to open files, or drag the file here
Supports all file formats, no limit on file size
  • Filter
  • Extension
  • Letter Case
  • Sequence
  • Replace
  • Insert
  • Truncate
  • Delete
  • List
  • Custom
  • Execute JS
1. File filtering can be applied repeatedly
2. When filtering with file name and extension fields, new file names and new extensions are used
1. Modify file extension
2. You can specify conditions in the Filter. If filtering conditions are used, only files that meet the filtering conditions will have their extension modified (Just specify the conditions in the Filter, do not click the button in the Filter)
1. Change the case of file names
2. You can specify conditions in the Filter. If filtering conditions are used, only files that meet the filtering conditions will be modified (Just specify the conditions in the Filter, do not click the button in the Filter)
1. Generate a new file name using sequence number or string templates.
2. After replacing the sequence number or string template, the new file name needs to be a valid file name.
3. You can specify conditions in the Filter. If filtering conditions are used, only files that meet the filtering conditions will be modified (Just specify the conditions in the Filter, do not click the button in the Filter)
Default is empty. If filled in, the prefix 0 will be used to fill in if the number length is insufficient

Expression Syntax Description

Category Command Parameter Parameter Type Parameter Limitations Parameter Nullable Parameter Desc Command Desc Example Description
string numberStringRand length int ≥1 no specify the length of a numeric string generate a string of random numeric characters of a specified length ${numberStringRand@3} generate a numeric string of length 3, which may start with 0
numberStringRandEx numChar string N/A no the format is 0|1|9 . Specify the number used to generate a random number string generate a random length numeric string composed of specified numbers ${numberStringRandEx@0|1|2|3|9@3@100} generate a numeric string consisting of 0, 1, 2, 3, and 9 with a length between 3 and 100
minLength int ≥1 no minimum length of numeric string
maxLength int ≥minLength no maximum length of numeric string
lowerRand minLength int ≥1 no minimum length of lowercase letter string generate lowercase letter strings of random length ${lowerRand@3@5} generate a string consisting of lowercase letters with a length between 3 and 5
maxLength int ≥minLength no maximum length of lowercase letter string
upperRand minLength int ≥1 no minimum length of uppercase letter string generate random length uppercase letter strings ${upperRand@3@5} generate a string consisting of uppercase letters with a length between 3 and 5
maxLength int ≥minLength no maximum length of uppercase letter string
alphaNumberRand minLength int ≥1 no minimum string length generate a random length string composed of uppercase letters, lowercase letters, and numbers ${alphaNumberRand@3@5} generate a string of uppercase letters, lowercase letters, and numbers with a length between 3 and 5
maxLength int ≥minLength no maximum string length
unicode start int (hex) ≥00 no unicode character minimum codepoint, hexadecimal generate random Unicode characters within the range ${unicode@4E00@9FA5@3@5} generate a string of random Chinese characters with a length between 3 and 5
end int (hex) ≤10FFFF no unicode character maximum codepoint, hexadecimal
minLength int ≥1 no minimum string length
maxLength int ≥minLength no maximum string length
unicodeEx rangeEx string N/A no unicode codepoint expression, can fill in multiple ranges. The supported forms are 00-FF,0256,4E00-9FA5 generate random Unicode characters within the range ${unicode@00-FF,0256,4E00-9FA5@3@5} generate random strings with lengths between 3 and 5, within the range of 00-FF,0256,4E00-9FA5
minLength int ≥1 no minimum string length
maxLength int ≥minLength no maximum string length
select strList string the format is str1|str2|str3 no list of candidate strings randomly select a string from the list of candidate strings ${select@152|137|148|1999} random select 152, 137, 148, 1999
number numberRangeRand min int or float N/A no minimum value of random number, inclusive generate random integers or floating-point numbers within a range ${numberRangeRand@-1.237@3.989@4} generate floating-point numbers greater than or equal to -1.237 and less than 3.989, with 4 digits retained after the decimal point
max int or float >min no maximum value of random number, exclusive
precision int ≥0 no preserve precision after decimal point
numberStep start bigint any size integer no Increment starting integer generate increasing integer numbers ${numberStep@999999999999999999999999@-100@0@16} generate numbers starting from 999999999999999999999999, increasing by -100, not padding, and displaying numbers in hexadecimal
step bigint any size integer no incremental step size
padding int ≥0 no number padding length, 0 is not padding. If pad to the specified length is required, use leading 0 padding
radix int ≥2  
≤36
no numeric base
numberBigintRangeRand min bigint any size integer no minimum value of random number, inclusive generate random integers within a range, supporting integers of unlimited size ${numberBigintRangeRand@-999999@9999999999999999@4@10} generate integers greater than or equal to -999999 and less than 99999999999999. Use 0 alignment for numbers with a length of less than 4 digits, and display the numbers in base 10
max bigint any size integer, >min no maximum value of random number, exclusive
padding int ≥0 no number padding length, 0 is not padding. If pad to the specified length is required, use leading 0 padding
radix int ≥2  
≤36
no numeric base
numberGaussian mean float N/A no mean value generate random numbers that conform to a normal distribution ${numberGaussian@0@1@3} generate a random number with a normal distribution of 0 mean and 1 standard deviation, and retain 3 as a number after the decimal point in the result
stdDev float ≥0 no standard deviation
precision int ≥0 no number after decimal point to be retained
numberGaussianRange mean float >min, <max no mean value generate random numbers within a range that conform to a normal distribution. Note: This command requires the correct setting of each parameter to ensure that the logical relationship of the parameters is correct ${numberGaussianRange@0@0.5@3@-1@1} generate a normal distribution of random numbers with an average of 0, a standard deviation of 0.5, and 3 decimal places, between -1 and 1
stdDev float ≥0 no standard deviation
precision int ≥0 no number after decimal point to be retained
min float N/A no minimum value of random number, inclusive
max float >min no maximum value of random number, exclusive
numberBigfloatRangeRand min floating point number of any size N/A no minimum value of random number, inclusive generate floating-point numbers of any size within the range, with the ability to save any number of digits after the decimal point ${numberBigfloatRangeRand@-1111111111111111111.2222222222@333333333333333333333333333333333333333333333333333333333333.555555@100} random generate floating-point numbers from -1111111111111111111.2222222222 to 333333333333333333333333333333333333333333333333333333333333.555555 , keep 100 digits after decimal point
max floating point number of any size >min no maximum value of random number, exclusive
precision int ≥0 no number after decimal point to be retained
time timeNow format string time format string no time format string generate a formatted string based on the current time ${timeNow@X} generate the current time string, format it as a Unix timestamp, in seconds
timeStep format string time format string no time format string generate an increasing or decreasing time series and format it in the specified time format ${timeStep@YYYY-MM-DD HH:mm@2020-01-01 12:00:00@300000} generate a time string starting from 2020-01-01 12:00:00, with an increment of 5 minutes. The format of the generated time string is YYYY-MM-DD HH:mm
start string the format is 2022-01-03 20:59:59 or 2022-01-03 20:59:59.123 no start time
stepMilli int N/A no time increasing step size, measured in milliseconds, supports positive or negative numbers
timeRand format string time format string no time format string generate random time within the range and format it in the specified format ${timeRand@x@2022-01-01 00:00:00@2023-01-01 00:00:00} randomly generate a time between 2022-01-01 00:00:00 and 2023-01-01 00:00:00, and format it as a Unix timestamp in milliseconds
start string the format is 2022-01-03 20:59:59 or 2022-01-03 20:59:59.123 no start time
end string the format is 2022-01-03 20:59:59 or 2022-01-03 20:59:59.123, ≥start no end time
expression expr exprContent string valid expression statements no expression statement, using expressions to generate fields. The expression supports using \index to reference other fields, such as \1 + \3 indicating the use of the sum of the first and third fields in the template as the value of this field. If the other fields referenced by the expression are of string type, the referenced fields need to be enclosed in single quotes. For example, '\3'. Multiple operators and mathematical functions are supported in expressions, please refer to the Expression Syntax for details. use expressions to generate field values. ${expr@\1 - sqrt(\3) + 100} Subtract the square root of the value of the third field from the value of the first field in the template, and then add 100.
An integer number starting from 0, if the position exceeds the length of the file name, a new file name will not be inserted.
1. Replace strings in file names, support regular text replacement and regular expression replacement.
2. After replacing the text, the new file name needs to be a valid file name.
3. You can specify conditions in the Filter. If filtering conditions are used, only files that meet the filtering conditions will be modified (Just specify the conditions in the Filter, do not click the button in the Filter)
-
1. Insert the text into the specified location as the new file name.
2. After inserting the text, the new file name needs to be a valid file name.
3. You can specify conditions in the Filter. If filtering conditions are used, only files that meet the filtering conditions will be modified (Just specify the conditions in the Filter, do not click the button in the Filter)
An integer number starting from 0, if the position exceeds the length of the file name, a new file name will not be inserted.
1. Extract the specified part from the file name as the new file name.
2. After truncating characters, the new file name needs to be a valid file name.
3. You can specify conditions in the Filter. If filtering conditions are used, only files that meet the filtering conditions will be modified (Just specify the conditions in the Filter, do not click the button in the Filter)
Numbers greater than or equal to 0 indicate truncation from front to back, while numbers less than 0 indicate truncation from back to front
Greater than or equal to 1, empty indicates truncation to the end
1. Remove characters from the file name or keep the characters in the file name.
2. After removing or retaining the selected characters, the new file name needs to be a valid file name.
3. You can specify conditions in the Filter. If filtering conditions are used, only files that meet the filtering conditions will be modified (Just specify the conditions in the Filter, do not click the button in the Filter)
1. Modify the file name through the name list. The number of names in the name list needs to be the same as the number of files in the table.
An integer number starting from 0, if the position exceeds the length of the file name, a new file name will not be inserted.
1. Modify the file name through the corresponding list of file names. The format of each line in the list is [file name][separator][new file name]. The number of lists can be different from the number of files. If the new file name does not have an extension, the extension of the original file name will be automatically used.
2. You can specify conditions in the Filter. If filtering conditions are used, only files that meet the filtering conditions will be modified (Just specify the conditions in the Filter, do not click the button in the Filter)
1. Execute JavaScript code, modify file name
2. You can specify conditions in the Filter. If filtering conditions are used, only files that meet the filtering conditions will be modified (Just specify the conditions in the Filter, do not click the button in the Filter)
NO. File Name New File Name Size Modify Time Operation
Batch File Rename Online-summary

Online batch file renaming tool, supporting opening files of any size and quantity, using various rules such as replacement, numbering, capitalization, regular replacement, etc. to batch rename files. The renamed file supports both bundled and individual downloads.

Batch File Rename Online-instructions

Online file renaming tool that uses multiple methods to batch rename files, and the renamed files support both batch and individual downloads.

  1. Open File or Open Folder : This tool supports batch opening of files. Support opening folders and reading all files within the folder. Unrestricted file size and count. All processing of this tool is done in the browser, and files will not be uploaded to the cloud.
  2. Preview : The preview operation will result in changes. It is recommended that you preview the changes before applying them.
  3. Cancel Preview : Cancel the preview and restore the file list to its previous state.
  4. Apply : Apply change operations.
  5. Filter : Filter the files in the list using the selected criteria. Support selecting files, excluding files, and filtering files by executing JS code.
  6. Extension : Modify the file extension.
  7. Letter Case : Change the capitalization of file names.
  8. Sequence : Generate a new file name using a number sequence or string template.
  9. Replace : Use text replacement or regular expression replacement to generate a new file name.
  10. Insert : Insert a new string into the file name to generate a new file name. Support selecting different insertion positions.
  11. Truncate : In the file name, truncate the specified part as the new file name.
  12. Delete : Remove the specified characters from the file name.
  13. List : Generate a new file name based on the input string list.
  14. Custom : Generate new file name based on the comparison list between the file name and the new file name.
  15. Execute JS : Execute custom JavaScript code to generate a new file name.