Related Tools
An online template data generation tool that generates string/JSON/binary HEX format data based on a specified format or protocol. The data field supports randomly generating integers, floating-point numbers, strings, and supports field references and JavaScript programming calculations.
Online template data generation tool, supporting online random generation of text protocol data, binary protocol data, and JSON protocol data. Support the random generation of fields such as numbers, strings, and times, and the fields support multiple formatting methods.
- Note : Please do not use templates provided by third parties at will, as it may cause data leakage or security issues. If you do need to use templates provided by third parties, please ensure that you fully understand their functionality.
- Template : The template for generating random data has the following syntax: nunjucks . The properties in the Context object can be directly used in the template. The built-in tags, expressions, global functions, filters, etc. in nunjucks can all be used directly.
- This tool has customized some filters and function methods, including time methods, numerical methods, string methods, various filters, Faker.js, etc. Documentation . If you need new filters or functions, please feel free to leave a message. After evaluation, the webmaster will add new features as soon as possible.
- Count : The number of generated results, with a range of [1,1000000].
- Join : Select how to concatenate multiple string results together. This tool supports connection methods such as line breaks, commas, customization, JSON, etc.
- Unique : When generating multiple results, is each result unique.
- My Template : My templates are saved and read in the cloud. My template supports refreshing, adding, and deleting operations.
- The encoding of the downloaded file is UTF-8.
-
Time format string document
Field Example Description YY 01 Two-digit year YYYY 2001 Four-digit year M 1-12 Month, beginning at 1 MM 01-12 Month, 2-digits MMM Jan-Dec The abbreviated month name MMMM January-December The full month name D 1-31 Day of month DD 01-31 Day of month, 2-digits d 0-6 The day of the week, with Sunday as 0 dd Su-Sa The min name of the day of the week ddd Sun-Sat The short name of the day of the week dddd Sunday-Saturday The name of the day of the week H 0-23 Hours HH 00-23 Hours, 2-digits h 1-12 Hours, 12-hour clock hh 01-12 Hours, 12-hour clock, 2-digits m 0-59 Minutes mm 00-59 Minutes, 2-digits s 0-59 Seconds ss 00-59 Seconds, 2-digits SSS 000-999 Milliseconds, 3-digits Z -05:00 The offset from UTC, ±HH:mm ZZ -0500 The offset from UTC, ±HHmm A AM PM Post or ante meridiem, upper-case a am pm Post or ante meridiem, lower-case Q 1-4 Quarter Do 1st... 31st Day of Month with ordinal k 1-24 The hour, beginning at 1 kk 01-24 The hour, 2-digits, beginning at 1 X 1360013296 Unix Timestamp in second x 1360013296123 Unix Timestamp in millisecond -
Time parse string document
Field Example Description YY 01 Two-digit year YYYY 2001 Four-digit year M 1-12 Month, beginning at 1 MM 01-12 Month, 2-digits MMM Jan-Dec The abbreviated month name MMMM January-December The full month name D 1-31 Day of month DD 01-31 Day of month, 2-digits H 0-23 Hours HH 00-23 Hours, 2-digits h 1-12 Hours, 12-hour clock hh 01-12 Hours, 12-hour clock, 2-digits m 0-59 Minutes mm 00-59 Minutes, 2-digits s 0-59 Seconds ss 00-59 Seconds, 2-digits S 0-9 Hundreds of milliseconds, 1-digit SS 00-99 Tens of milliseconds, 2-digits SSS 000-999 Milliseconds, 3-digits Z -05:00 The offset from UTC, ±HH:mm ZZ -0500 The offset from UTC, ±HHmm A AM PM Post or ante meridiem, upper-case a am pm Post or ante meridiem, lower-case Do 1st... 31st Day of Month with ordinal X 1410715640.579 Unix timestamp x 1410715640579 Unix ms timestamp