About

ArrayCat is a free tool for converting a list of data or any string into an array. For example, you can convert CSV file into PHP array. Or, into a JavaScript array. Or even into an SQL insertion, which is technically not an array, but cats get confused sometimes.

Not only string to array conversions, ArrayCat also supports various transformations, such as sort lists, delete duplicates from lists, remove diacritics, convert data to lower case, and much more.

The following transformations are supported:

Base64 encode each element.

Count duplicate elements.

Convert to HTML elements. This option will convert all applicable characters to HTML entities. For example, "Durian > Jackfruit" becomes "Durian > Jackfruit".

Convert each element to lower case.

Fix apostrophes. This option will replace commonly used wrong apostrophe characters with the correct apostrophe character. For example, "Jack's Durian" becomes "Jack’s Durian".

Remove diacritics. This option will attempt to remove any diacritics and accent characters. For example, converting "Crème Brulée" into "Creme Brulee", which is equally yummy but possibly easier to process.

Remove duplicate elements. Removes all duplicate elements, after other transformers have been run first. For example, if your list contains "John" and "john" and you have the Convert each element to lower case enabled, only "john" will be added to the final output.

Remove empty elements.

Sort elements. If enabled, the final output will be in alphabetical order.

Strip excess whitespace. Removes any cases of multiple spaces between words.

Unify whitespace. Replaces all whitespace characters with a single space.

Trim whitespace. Removes any leading and trailing space characters of each element.