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

Sequence Generator Online


  • Number
  • Expression

Expression Syntax Description

  1. General description:
    time format string:unix means that the time is formatted as a UNIX timestamp in seconds.unixMilli means that the time is formatted as a UNIX timestamp in milliseconds. yyyy-MM-dd hh:mm:ss means to format the time as 2020-01-20 15:59:30 form.Where yyyy represents the year, MM represents the month and dd represents the day. hh stands for hours, mm for minutes and ss for seconds.
    Example: yyyy/MM/dd formats the time as 2020/01/20.
  2. ${number@rand@length}:number and rand are fixed strings, and length is an integer greater than 1 and less than 1000. Generates a random number string.
    Example: ${number@rand@5} Generates a string of random numbers with a length of 5.
  3. ${numberRange@rand@min@max@precision}:numberRange and rand are fixed strings, min is the lower limit of the value, and integer or float numbers are supported. max is the upper limit of the value and supports integer and float numbers. precision is the number of digits reserved after the decimal point. 0 is an integer, and greater than 0 is a float number with a specific number of decimal places. Generate a range of random numbers. Random numbers support positive numbers, negative numbers, integers and float numbers.
    Example:${numberRange@rand@-1.237@3.989@4} Generate float numbers greater than -1.237 and less than 3.989, and keep 4 as decimal after the decimal point.
  4. ${number@start@step@padding}: number is a fixed string, start is the starting integer, and step is the step size (the step size can be a positive integer or a negative integer), The value of padding is true or false, indicating whether to padding 0 before number. Produces increasing or decreasing numbers.
    Example: ${number@0@1@true} Generate a serial number incremented from 0 ,step 1, and the prefix is aligned with 0.
  5. ${lower@rand@length}: lower and rand are fixed strings, and length is the length of the generated random string. Generates a random lowercase string.
    Example: ${lower@rand@5} Generates a random lowercase string with a length of 5.
  6. ${upper@rand@length}:upper and rand are fixed strings, and length is the length of the generated random string. Generates a random uppercase string.
    Example: ${upper@rand@5} Generates a string of random uppercase string with a length of 5.
  7. ${alphaNumber@rand@length}: alphaNumber and rand are fixed strings, and length is random string length. Generate random uppercase, lowercase and numeric strings.
    Example: ${alphaNumber@rand@5} Generate a string of random lowercase, uppercase and numbers with a length of 5.
  8. ${time@format@start@stepSecond}:Use time to participate in sequence generation. time is a fixed string. format formats time to string. start is the start time, and the format is fixed as yyyy-MM-dd hh:mm:ss. stepSecond is the step of time change (can be a positive integer or a negative integer), and the unit is seconds.
    Example: ${time@yyyy-MM-dd hh:mm@2020-01-01 12:00:00@300} Generated from 2020-01-01 12:00:00, the time string is increased by 5 minutes. The format of the generated time string is yyyy-MM-dd hh:mm.
  9. ${unicode@start@end@length}: unicode is a fixed string. start is a hexadecimal string (two bytes) with a length of 4 means the starting Unicode character. end is a hexadecimal string (two bytes) with a length of 4, means the ending Unicode character. end needs to be greater than start. length is the length of the random Unicode string generated. Generates a random Unicode string in the range.
    Example: ${unicode@0041@005A@5} Generate random uppercase string with a length of 5. ${unicode@4E00@9FA5@5} Generate random Chinese characters with a length of 5.
  10. ${now:format}: now is a fixed string. format formats time to string. Generates a formatted string based on the current time.
    Example: ${now:unix} Generate the current time string. The time format is UNIX timestamp, and the unit is seconds.
Related Tools
Sequence Generator Online-summary

Generate a string sequence based on numbers or expressions online. This tool supports batch generation of serial no list, or other text sequences with specific rules.

Sequence Generator Online-instructions

The Sequence Generator Online tool supports generation of sequence, or text sequences conforming to specific protocols. The typical use of this tool is to generate serial numbers and generate random text data in batches according to the protocols. Generation supports simple generation of text sequences based on numbers and advanced generation of complex text sequences based on expressions. Expressions support random strings, numbers, floating-point numbers, time, and Unicode characters to participate in text generation.

  1. Number:Use the upper and lower limits of numbers to generate a number sequence, and add an optional prefix or suffix to generate a specific text sequence. It is suitable for simple serial number generation.
  2. Expression:Generate text sequences using supported expression syntax. It is suitable for complex text data generation. For expression syntax, refer to the above syntax description. The expression you fill in must be completely correct.