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.
Convert any string to array with ArrayCat
ArrayCat can convert any string to PHP array, and it can also convert any string to JavaScript array, SQL insertion, and more. Or, if you only need to remove duplicate elements from a list, you can use the Remove duplicates from array feature.
Convert CSV to array format easily
Need to convert CSV data into arrays? ArrayCat makes it simple to convert CSV to PHP array or convert CSV to JavaScript array. Just paste your CSV data and choose your desired output format.
Delete duplicates from list
Beyond basic conversions, ArrayCat helps you delete duplicates from lists and remove duplicates from arrays. Make your data clean with just a few clicks.
Convert lists to multiple array formats
Whether you need to convert text to array in PHP, create JavaScript arrays from text, or generate SQL statements, ArrayCat is a cat who wants to match all your needs.
Privacy Policy: Cats mind their own business. Data processing happens only inside your browser, no data is sent to anywhere.
Terms of Service: This service is provided to you "as is" without any guarantees of any kind. If you wish to use this service, you will do so entirely at your own risk. For any feedback, please send an email: jouni@arraycat.com
Copyright 2023-2025 Great Software Company
All Rights Reserved
View on GitHub