{"category":"generate","endpoint":"https://setget.net/v1/tools/ascii-table","examples":[{"input":{"headers":["Name","Age"],"rows":[["Sam",31],["Alex",27]]},"output":{"columns":2,"rows":2,"text":"\u250c\u2500\u2500\u2500\u2500\u2500\u2500\u252c\u2500\u2500\u2500\u2500\u2500\u2510\n\u2502 Name \u2502 Age \u2502\n\u251c\u2500\u2500\u2500\u2500\u2500\u2500\u253c\u2500\u2500\u2500\u2500\u2500\u2524\n\u2502 Sam  \u2502  31 \u2502\n\u2502 Alex \u2502  27 \u2502\n\u2514\u2500\u2500\u2500\u2500\u2500\u2500\u2534\u2500\u2500\u2500\u2500\u2500\u2518","width":14}},{"input":{"headers":["Name","Age"],"rows":[["Sam",31],["Alex",27]],"style":"ascii"},"output":{"columns":2,"rows":2,"text":"+------+-----+\n| Name | Age |\n+------+-----+\n| Sam  |  31 |\n| Alex |  27 |\n+------+-----+","width":14},"title":"Plain ASCII borders"}],"input_schema":{"additionalProperties":false,"properties":{"align_numbers":{"default":true,"description":"Right-align columns that hold only numbers.","type":"boolean"},"headers":{"description":"Column names. Leave out to use the object keys, or the first row.","examples":[["Name","Age"]],"maxItems":50,"type":"array"},"max_width":{"default":60,"description":"Longest cell in characters; longer text is cut with an ellipsis.","maximum":200,"minimum":5,"type":"integer"},"rows":{"description":"The rows: a list of lists, or a list of objects keyed by column name.","examples":[[["Sam",31],["Alex",27]]]},"style":{"default":"box","description":"Border style. ascii uses only + - and | for places that cannot show box-drawing characters.","enum":["box","rounded","double","ascii"],"type":"string"}},"required":["rows"],"type":"object"},"keywords":["ascii table generator","ascii table","text table","box drawing table","terminal table","plain text table","cli table"],"related":["markdown-table","table-image","ascii-banner"],"slug":"ascii-table","summary":"Render headers and rows as a box-drawing or plain ASCII table for terminals, logs and code comments.","tier":"inline","title":"ASCII table generator","url":"https://setget.net/tools/ascii-table"}
