Text to Columns - Online Split by Delimiter
Paste delimited data and split it into columns. Choose custom separator. Shows a preview table. Local.
UD5 Toolkit
Convert multi-line text into formatted code arrays for JavaScript, Python, PHP, Java, SQL & more. Free online split tool for developers.
It is a developer tool that transforms plain text (one item per line) into a properly formatted code array. Instead of manually typing quotes, commas, and brackets, you simply paste your list and get instant, ready-to-use code for your project. This saves time and eliminates syntax errors when creating string arrays from spreadsheets, logs, or any line-separated data.
We support 12+ languages including JavaScript/TypeScript, Python, PHP, Java, C#, Ruby, Go, Rust, Swift, Kotlin, Dart, and SQL (IN clause format). Each language follows its idiomatic array syntax — for example, PHP uses $variable prefix, Go requires trailing commas in slice literals, and SQL generates parenthesized IN clause values. Switch between languages instantly to see the output update in real time.
The tool automatically escapes quote characters within your text to prevent syntax errors. If you choose double quotes as the wrapper, any double quotes inside the text are escaped with backslashes (\"). For SQL mode, single quotes are escaped using the SQL standard of doubling them (''). You can also select different quote types (single, double, backtick, or none) to match your project's style guide and avoid conflicts.
Absolutely! Select "SQL (IN Clause)" from the language dropdown. The output format changes to ('value1', 'value2', 'value3') — perfect for pasting directly into your WHERE column IN (...) queries. This is especially useful when you have a list of IDs, usernames, or product codes from a spreadsheet that you need to query against. The tool handles SQL-specific single-quote escaping automatically.
When enabled, any line that is completely blank (or contains only whitespace after trimming) is excluded from the output array. This is useful when copying data from sources that have spacing gaps, such as formatted documents, emails, or exported reports. Combined with "Trim Whitespace," it ensures your array contains only meaningful, clean values without accidental empty string elements that could cause bugs in your code.
Yes. The output follows industry-standard formatting conventions for each language — proper indentation, correct bracket/brace usage, idiomatic variable declaration, and appropriate trailing comma behavior. For instance, Go slice literals always include trailing commas (as required by the language spec), Python follows PEP 8 with 4-space indentation, and PHP uses the modern short array syntax []. You can copy the output directly into your codebase with confidence.
Yes, you have full control over the variable name. Simply type your desired name in the "Variable Name" field. When switching between languages, the tool intelligently adjusts naming conventions — for example, adding a $ prefix for PHP or suggesting snake_case for Python and Ruby. You can override any suggestion to match your project's specific naming conventions or to assign the array to a property, constant, or any valid identifier.
All processing happens entirely in your browser using client-side JavaScript. No data is ever uploaded to any server. Your text never leaves your device. You can even disconnect from the internet after loading the page and the tool will continue working perfectly. This makes it safe for processing sensitive data like API keys, internal configuration values, proprietary code snippets, or any confidential information.
Paste delimited data and split it into columns. Choose custom separator. Shows a preview table. Local.
Remove all line breaks and turn multi-line text into a single continuous string. Optionally replace line breaks with spaces. Fast and secure local tool.
Split a long text into blocks of N characters or words. Perfect for token limits or social media threading.
Break a large block of text into a numbered list of sentences. Useful for analysis or translation. Local processing.
Paste HTML and convert to plain text while preserving basic structure (paragraphs, list items). Removes all tags and images. Instant local processing.
Paste text and delete all empty or whitespace‑only lines. Collapse unused space. Perfect for code or prose. Local.
Strip HTML tags and convert web content to plain Markdown. Preserve headings, lists, and links. Perfect for content migration. All processing in browser.
Obfuscate strings using simple techniques to prevent casual reading. Useful for hiding spoilers or email addresses from bots. Decode with the same tool.
Convert plain text lines into HTML ordered or unordered lists. Instantly copy the generated HTML to paste into your website. No hassle, fully browser-based.
Convert any image into a raw binary array of RGBA values. For use in embedded systems or game development. Copy as Uint8Array.
Create a multi‑line text truncation using the standard line‑clamp property. Choose lines. Copy the clean CSS.
A tiny tool that hooks into the console and lets you export all messages to a file. Helpful for non‑technical bug reporting.
Convert text into binary digits and decode binary back to readable text. Handy for education and computer science. All conversions performed locally in your browser.
List assignments with estimated minutes. See total time and break into Pomodoro sessions. Stay motivated.
Compare text‑rendering: auto, optimizeSpeed, optimizeLegibility, geometricPrecision. See kerning and ligature changes live.
Test the Web Share API by sharing text, links, and files directly from the browser. Check compatibility and see example code.
Convert English words into their International Phonetic Alphabet (IPA) representation. For pronunciation learning. Local.
Display text in horizontal‑tb, vertical‑rl, vertical‑lr. See how block and inline directions switch. For multilingual sites.
Format your text into a classic newspaper layout with multiple justified columns. Ready to print or PDF. Local.
Extract text from images using basic OCR technology. Works best with clear, printed fonts. Completely local, images never leave your browser for privacy.
Use the Web Speech API to turn your spoken words into text with punctuation. Copy and paste anywhere. Privacy‑first.
Paste a human‑readable date (like 'next Friday' or 'March 5, 2023') and convert it to ISO 8601 format. Quick and tolerant.
Paste binary sequences and convert them back to readable text. Supports space-separated and 8-bit formatted strings. Quick encoding reconversion.
Paste Morse code (dots and dashes) and translate it back to plain English text. Supports standard timing. Local.
Decode hexadecimal values back to human-readable text. Ideal for debugging and data recovery. Works fully offline in your browser, keeping your data secure.
Paste text, highlight important parts, and extract only highlights. Great for research and studying. Entirely client-side.
Convert Markdown text into clean HTML code. GitHub Flavored Markdown supported. Copy the raw HTML or preview the rendered output instantly. No uploads.
Set the number of lines and generate the CSS for multi‑line truncation using the standard line‑clamp and fallback. Quick copy.
Split an image into equal grid parts or horizontal/vertical strips. Useful for Instagram carousel posts or puzzle creation. Everything runs in your browser.
Write in Markdown and convert it to a styled PDF using your browser's print engine. Customize font and margins. No upload.