Change List Length

Change list length by trimming or adding items.

Input
List Item Delimiter
Split list items by a symbol.
Split list items by a regex.
Input Separator. Enter split character or regex.
List Length Change
New list length.
Add or remove items at the end of the list.
Add or remove items at the start of the list.
Fill Items
Items to use when increasing list size.
Remove empty items from the output list.
Output Separator
Join the list items with this separator.
Output

What this tool actually changes

Change list length by trimming or adding items.

This kind of tool is most helpful when manual editing would be slower, more error-prone, or too opaque to verify quickly.

What gets swapped

Change List Length swaps one pattern, character set, or representation for another. The interesting part is not just what appears in the output, but how consistently the replacement is applied across mixed input.

List tools usually treat each line or separator-delimited value as a discrete item, so separators and blanks affect the result.

This tool is deterministic: the same input and the same settings produce the same output every time. All processing happens in your browser, so your input stays on your device during the transformation.

Where this tool earns its keep

Resize lists for exports.

Add filler items.

Trim lists to size.

Examples

Quick before and after

Input
Change List Length input:
Email: john.doe@example.com
Status: active

Output
Change List Length output:
Email: john.doe@example.com
Status: active

Repeated pattern replaced consistently

Input
color
favorite color

Output
colour
favorite colour

Input expectations and common surprises

Replacement logic usually follows the exact match rule the tool expects. Small differences in case, punctuation, or surrounding whitespace can explain why one segment changes and another does not.

For deterministic tools, the same input and the same settings should reproduce the same result. If not, the input likely changed in a small but meaningful way.

Frequently Asked Questions

Will the same input and settings always produce the same output?

Yes. This tool is deterministic, so repeating the same input with the same settings produces the same result.

Does this tool process data in the browser or on a server?

This tool runs locally in your browser, so your input is processed on your device rather than being uploaded for server-side conversion.