Convert any strings to array with ArrayCat
ArrayCat is a free tool for converting a list of data or any string into an array. For example, you can convert a CSV file into a PHP array. Or, into a JavaScript array. Or even into a 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, base64 encode elements, convert to HTML entities, and much more. You can find the full list of supported transformations below.
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-2026 Great
Software Company
-
All Rights Reserved
This is 100% free software without any ads, upsells or spyware. If you like it, please consider
supporting our
work
-
View on GitHub