Our Network


Coming Soon


Coming Later

list left-padder

world's simplest list tool

This is a super simple browser-based application that left-pads a list. You can load any list in the input and adapt to its format by setting the item separator character that it uses. Once items in the list are recognized, it will left-pad the list to the required length with the given new items. You can set the list padding length in the options, as well as specify the items that are used for padding in the options. Created by list geeks from team Browserling.

᠎᠎᠎          Tool Options

Separator Between Input Items

If the delimiter is one symbol,
separate items by that character.
If the delimiter is multiple symbols,
separate items by regular expression.
Set the separator symbol or
the regular expression that
matches all separators.

Padding Length and New Items

The length of the padded list.
Use these items for padding
the list.

Separator Between Output Items

Specify a character to use as
a separator for the items of
the output list.
Prune elements of zero
length from the list.

What is a list left-padder?

This online tool pads a list by adding new items on the left side (beginning) of the list. First, it counts how many items there are in your existing list. Then it calculates how many new items does it have to add to the beginning of the list to achieve the specified new length of the list. You can pad the list with just one new item or multiple items that are cyclically repeated. If you want to, you can also pad the list with just a single character or symbol. If your list is shorter than the required new length, then the list will be returned as it was and won't be padded or modified. To add several different items to the list, enter them separated by newlines in the options. The program works with all types of lists, be it vertical todo lists, lists that use commas as item delimiters, or lists that use pipes as delimiters. The program can adapt to your list via two different item delimiter matcher modes. When your list uses a simple delimiter, use the symbol delimiter matching mode, but if your list uses a changing delimiter, use the regular expression delimiter matching mode. The new padded list in the output can also use a completely new item delimiter. Additionally, if your list contains empty items, you can prune them from the output. Listabulous!


List left-padder examples

Click to try!

Left-pad a List of Hats

In this example, we left-pad a list of hats. We load a vertical list in the input and separate the items via the newline character. The input list has 13 hats in it but we want to change the length to be 18 hats. We enter two new hats "Beret" and "Cowboy Hat", create 2.5 new copies out of them, and append them to the beginning of the hat list.

Baseball Cap Fedora Newsboy Hat Cocktail Hat Deerstalker Panama Hat Trapper Hat Bowler Hat Fascinator Hat Cloche Hat Boater Pillbox Hat Bucket Hat
Beret Cowboy Hat Beret Cowboy Hat Beret Baseball Cap Fedora Newsboy Hat Cocktail Hat Deerstalker Panama Hat Trapper Hat Bowler Hat Fascinator Hat Cloche Hat Boater Pillbox Hat Bucket Hat
Required options
These options will be used automatically if you select this example.
If the delimiter is one symbol,
separate items by that character.
Set the separator symbol or
the regular expression that
matches all separators.
The length of the padded list.
Use these items for padding
the list.
Specify a character to use as
a separator for the items of
the output list.

Add Games to the List

In this example, we're creating a list of games to buy for the party. We need 25 games in total but the current list only has 20 games. We're the hugest Twister fans so we left-padded the list with 5 Twister games. To do it, we split the original items by a regex "/[,.]\s*/", then we specify "Twister" in the options, and the program left-pads the list from the beginning with Twister repeated five times.

Clue, Monopoly, Scrabble. Battleship, Risk, Stratego. Axis & Allies, Chess. Backgammon, Checkers, Blokus. Agricola, Boggle, Mastermind. Qwirkle, Cranium, Dominoes. Carcassonne, Sorry!, Trouble
Twister * Twister * Twister * Twister * Twister * Clue * Monopoly * Scrabble * Battleship * Risk * Stratego * Axis & Allies * Chess * Backgammon * Checkers * Blokus * Agricola * Boggle * Mastermind * Qwirkle * Cranium * Dominoes * Carcassonne * Sorry! * Trouble
Required options
These options will be used automatically if you select this example.
If the delimiter is multiple symbols,
separate items by regular expression.
Set the separator symbol or
the regular expression that
matches all separators.
The length of the padded list.
Use these items for padding
the list.
Specify a character to use as
a separator for the items of
the output list.

Activities To-do List

In this example, we left-pad our activities to-do list for the holidays. We split the items by the newline character and expand the list to 19 items by complementing it with three fun new ideas: riding a bike, baking cookies, and going to the pool. Additionally, we remove the empty items from the input list so that the output was clean and instantly usable.

- Go rollerskating - Have a picnic - Go bowling - Visit the library - Go to a museum - Fly a kite - Go to the park - Go to the beach - Go fishing - Play frisbee - Play baseball - Plant a garden - Wash the car - Draw a picture
- Ride a bike - Bake cookies - Go to the pool - Ride a bike - Bake cookies - Go rollerskating - Have a picnic - Go bowling - Visit the library - Go to a museum - Fly a kite - Go to the park - Go to the beach - Go fishing - Play frisbee - Play baseball - Plant a garden - Wash the car - Draw a picture
Required options
These options will be used automatically if you select this example.
If the delimiter is one symbol,
separate items by that character.
Set the separator symbol or
the regular expression that
matches all separators.
The length of the padded list.
Use these items for padding
the list.
Specify a character to use as
a separator for the items of
the output list.
Prune elements of zero
length from the list.

Pro tips Master online list tools

You can pass input to this tool via ?input query argument and it will automatically compute output. Here's how to type it in your browser's address bar. Click to try!

https://onlinetools.com/list/left-pad-list?input=Baseball%20Cap%0AFedora%0ANewsboy%20Hat%0ACocktail%20Hat%0ADeerstalker%0APanama%20Hat%0ATrapper%20Hat%0ABowler%20Hat%0AFascinator%20Hat%0ACloche%20Hat%0ABoater%0APillbox%20Hat%0ABucket%20Hat&string-separator=true&input-separator=%255Cn&join-character=%255Cn&new-length=18&fill-items=Beret%250ACowboy%20Hat

All List Tools

Didn't find the tool you were looking for? Let us know what tool we are missing and we'll build it!

Quickly print all distinct items of a list.

Quickly print all repeating items of a list.

Quickly count the number of items in a list.

Quickly display list items in multiple colors.

Quickly generate a list of arbitrary length with arbitrary items.

Quickly generate a random length list with random items.

Quickly find certain items in a list.

Quickly find how many times each item appears in the list.

Quickly replace certain items in a list with new items.

Quickly remove items from a list that match a pattern.

Quickly print all list items in reverse order.

Quickly sort list items alphabetically or numerically.

Quickly shuffle list items and make it random.

Quickly randomly pick one or more items from a list.

Quickly create a downloadable image from a list.

Quickly set a new delimiter for items in a list.

Quickly remove the symbol that separates list items.

Quickly change list item delimiters to the same symbol.

Quickly remove items from the beginning or end of a list.

Quickly join all items of a list together.

Quickly create groups of multiple list items.

Quickly extract a part of a list.

Quickly remove all empty items from a list.

Quickly remove whitespace characters around list items.

Quickly create multiple copies of a list.

Quickly rotate list items to the left or right (or up and down).

Quickly enumerate list items and add a counter to them.

Quickly add bullet markers to all items in a list.

Quickly remove all bullet markers from list items.

Quickly wrap all list items in quotes.

Quickly remove all quotation marks from around list items.

Quickly add text on the left and right sides of all list items.

Quickly remove text from the left and right sides of all list items.

Quickly prepend a prefix before each list item.

Quickly delete any prefix from the beginning of all list items.

Quickly append a suffix after each list item.

Quickly delete any suffix from the end of all list items.

Quickly add or remove list items to make it a certain length.

Quickly create multiple columns from a single list.

Quickly create a palindromic list from the given list.

Quickly add new items at the beginning or end of a list.

Quickly left-pad a list with one or more items.

Quickly right-pad a list with one or more items.

Quickly remove items that repeat in a list.

Quickly apply a filter on all list items (extract certain items).

Quickly analyze a list and print its item statistics.


Coming Soon

These list tools are on the way!
Edit a List

View and edit lists in a neat browser-based list editor.

Split a List

Split list items into chunks.

Generate the Powerlist

Create the powerlist of the given list.

Find the Car of a List

Extract the first item from a list.

Find the Cdr of a List

Extract all items except the first of a list.

Apply a Function on a List

Run a JavaScript function on every list item (map function).

Reduce a List

Run the reduce function on a list.

Find Certain List Items

Quickly find and print items that interest you in a list.

Find Repeating List Items

Quickly find and print items that repeat in a list.

Delete Unique List Items

Quickly find and remove items that are unique in a list.

Extract a Sublist from a List

Given start and stop indexes, extract a sublist from a list.

Shift List Items

Shift list items to the left or right (or up and down).

Indent List Items

Add indentation to all list items.

Skew List Items

Make a list go increasingly sideways (to the left or right).

Mirror a List

Quickly create a mirror copy of a list.

Invert a List

Invert the order of items in a list (last becomes first, etc).

Convert a List to Rows

Create multiple rows from a single list.

Convert a List to Excel

Create an Excel (XLS/XLSX) file from a list.

Convert a List to PDF

Create a PDF file from a list.

Convert a Text List to a LaTeX List

Create a LaTeX list from a regular text list.

Convert a Text List to a HTML List

Create a HTML list from a regular text list.

Convert a Text List to a Markdown List

Create a Markdown list from a regular text list.

Compare Two Lists

Find the difference between two lists.

Compare Three Lists

Find the difference between three lists.

Remove One List from Another

Remove elements from a list that appear in the other list.

Find Common Items in Lists

Find items that are shared between two or more lists.

Find Distinct Items in Lists

Find items that are unique in two or more lists.

Zip Two Lists

Join two or more lists together item by item.

Unzip Two Lists

Split an interleaved list into two or more separate lists.

Merge Two Lists

Append a second list at the end of the first list.

Pair List Items

Create pairs from all list items.

Pop List Items

Remove list items at certain index positions.

Push List Items

Add new items at the end of a list.

Splice a List

Modify a list in-place by adding, replacing, or removing items.

Flatten a List

Remove all indentation levels from a list and make it flat.

Make List Items Bold

Quickly apply the bold effect to all list items.

Make List Items Italic

Quickly apply the italic effect to all list items.

Make List Items Cursive

Quickly rewrite all list items in cursive.

Change List Item Font

Quickly change the font of all list items.

Add an Underscore to List Items

Quickly add an underscore to all list items.

Add a Strikethrough to List Items

Quickly add a strikethrough to all list items.

Make List Items Title Case

Quickly change the letter case of all items to title case.

Make List Items Proper Case

Quickly change the letter case of all items to proper case.

Make List Items Random Case

Quickly randomly change the letter case of all items.

Make List Items Lowercase

Quickly change the letter case of all items to small letters.

Make List Items Uppercase

Quickly change the letter case of all items to capital letters.

Remove List Item Counter

Quickly remove any numeration from a list of items.

Create an Empty List

Generate a list with no items (just bullet points).

Visualize a List

Quickly create a graphical representation of a list.

Create a List Cloud

Create an image with a cloud of list items.

Create a Spiral List

Create an image with list items going in a spiral.

Create a ZigZag List

Make list items go in a zigzag.

Add Errors to a List

Add errors and corruption to a list.

Base64-encode a List

Convert any list to base64 encoding.

Base64-decode a List

Convert any list from base64 encoding back to a list.

URL-encode a List

Convert any list to URL encoding.

URL-decode a List

Convert any list from URL encoding back to a list.

Convert a List to JSON

Create a JSON array from a list.

Convert JSON to a List

Create a list from a JSON array.

Convert a List to XML

Create an XML document from a list.

Convert XML to a List

Create a list from an XML document.

Convert a List to YAML

Create a YAML file from a list.

Convert YAML to a List

Create a list from a YAML file.

Convert a Text List to a Binary List

Create a binary list from a text list.

Convert a Binary List to a Text List

Create a text list from a binary list.

Compress a List

Compress a list so it uses less space.

Scroll a List

Create an animation with a list being scrolled.

Let Zalgo Destroy a List

Let Zalgo loose on a list and create list-chaos.


Subscribe!

Subscribe to our updates. We'll let you know when we release new tools, features, and organize online workshops.

Enter your email here


Feedback. We'd love to hear from you! 👋