{
  "slug": "join-lines",
  "name": "gizza-ai/join-lines",
  "version": "0.1.0",
  "title": "Join Lines — merge multiple lines into one with any separator — gizza.ai",
  "description": "Join lines of text into one line with any separator — comma, space, tab or custom. Trim, drop blanks, add a prefix/suffix. Free, runs in your browser.",
  "tags": [
    "join lines",
    "combine lines",
    "merge lines",
    "lines to one line",
    "comma separated list",
    "text join",
    "lines to csv"
  ],
  "category": "text",
  "urls": {
    "page": "https://gizza.ai/tools/join-lines/",
    "markdown": "https://gizza.ai/tools/join-lines/index.md",
    "descriptor": "https://gizza.ai/tools/join-lines/tool.json",
    "deep_link_example": "https://gizza.ai/tools/join-lines/?text=Paste%20lines%20to%20join%E2%80%A6&separator=%2C%20&trim=true&remove_blank=true&prefix=%27&suffix=%27"
  },
  "cli": "gizza tool join-lines \"Paste lines to join…\"",
  "tool": {
    "description": "Join the lines of a block of text into one line. separator (default \", \") is placed between lines; backslash escapes \\t, \\n, \\r and \\\\ are decoded, and an empty separator concatenates with nothing between. Set trim to strip surrounding whitespace from each line, remove_blank to drop blank lines, and prefix/suffix to wrap each line (e.g. quotes for a CSV list or parentheses for a SQL IN clause). Returns the joined line plus line counts. Runs locally.",
    "parameters": {
      "additionalProperties": false,
      "properties": {
        "prefix": {
          "default": "",
          "description": "Text added to the start of every line before joining (e.g. a quote for a CSV list).",
          "type": "string"
        },
        "remove_blank": {
          "default": false,
          "description": "Drop blank/whitespace-only lines instead of joining them.",
          "type": "boolean"
        },
        "separator": {
          "default": ", ",
          "description": "String placed between lines. Escapes \\t, \\n, \\r and \\\\ are decoded, so use \\t for a tab or an empty string to concatenate with no separator.",
          "type": "string"
        },
        "suffix": {
          "default": "",
          "description": "Text added to the end of every line before joining.",
          "type": "string"
        },
        "text": {
          "description": "The multi-line text whose lines should be joined into one.",
          "type": "string"
        },
        "trim": {
          "default": false,
          "description": "Strip leading/trailing whitespace from each line before joining.",
          "type": "boolean"
        }
      },
      "required": [
        "text"
      ],
      "type": "object"
    }
  }
}