{"id":13410952,"url":"https://github.com/ozh/ascii-tables","last_synced_at":"2025-04-04T08:05:22.200Z","repository":{"id":13389709,"uuid":"16077895","full_name":"ozh/ascii-tables","owner":"ozh","description":"⚡ Quickly format table in ASCII. Great for code comments, or Github Markdown!","archived":false,"fork":false,"pushed_at":"2023-07-23T00:53:56.000Z","size":419,"stargazers_count":605,"open_issues_count":17,"forks_count":130,"subscribers_count":21,"default_branch":"gh-pages","last_synced_at":"2024-10-14T20:39:00.144Z","etag":null,"topics":["ascii","ascii-table","formatting","markdown","table"],"latest_commit_sha":null,"homepage":"https://ozh.github.io/ascii-tables/","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ozh.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2014-01-20T17:34:14.000Z","updated_at":"2024-10-03T16:01:27.000Z","dependencies_parsed_at":"2024-01-14T08:08:13.702Z","dependency_job_id":null,"html_url":"https://github.com/ozh/ascii-tables","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ozh%2Fascii-tables","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ozh%2Fascii-tables/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ozh%2Fascii-tables/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ozh%2Fascii-tables/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ozh","download_url":"https://codeload.github.com/ozh/ascii-tables/tar.gz/refs/heads/gh-pages","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247138214,"owners_count":20890010,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ascii","ascii-table","formatting","markdown","table"],"created_at":"2024-07-30T20:01:10.414Z","updated_at":"2025-04-04T08:05:22.174Z","avatar_url":"https://github.com/ozh.png","language":"JavaScript","funding_links":[],"categories":["markdown","JavaScript"],"sub_categories":[],"readme":"ascii-tables\n============\n\nQuickly format tables in ASCII. Great for code comments, or Github Markdown!\n\nPlay with it: https://ozh.github.io/ascii-tables/\n\n### Input text like this\n\n```\nCol1\tCol2\tCol3\tNumeric Column\nValue 1\tValue 2\t123\t10.0\nSeparate\tcols    with a tab or 4 spaces\t-2,027.1\nThis is a row with only one cell\n```\n\nPress **Create Table** to get something like:\n\n### ASCII table (mysql style)\n```\n+----------------------------------+---------+------------------------+----------------+\n|               Col1               |  Col2   |          Col3          | Numeric Column |\n+----------------------------------+---------+------------------------+----------------+\n| Value 1                          | Value 2 | 123                    |           10.0 |\n| Separate                         | cols    | with a tab or 4 spaces |       -2,027.1 |\n| This is a row with only one cell |         |                        |                |\n+----------------------------------+---------+------------------------+----------------+\n```\n\n### ASCII table (separated style)\n```\n+==================================+=========+========================+================+\n|               Col1               |  Col2   |          Col3          | Numeric Column |\n+==================================+=========+========================+================+\n| Value 1                          | Value 2 | 123                    |           10.0 |\n+----------------------------------+---------+------------------------+----------------+\n| Separate                         | cols    | with a tab or 4 spaces |       -2,027.1 |\n+----------------------------------+---------+------------------------+----------------+\n| This is a row with only one cell |         |                        |                |\n+----------------------------------+---------+------------------------+----------------+\n```\n\n### ASCII table (compact style)\n```\n                Col1                  Col2              Col3            Numeric Column  \n ---------------------------------- --------- ------------------------ ---------------- \n  Value 1                            Value 2   123                                10.0  \n  Separate                           cols      with a tab or 4 spaces         -2,027.1  \n  This is a row with only one cell                                                      \n```\n\n### ASCII table (Github Markdown style)\n```\n|               Col1               |  Col2   |          Col3          | Numeric Column |\n|----------------------------------|---------|------------------------|----------------|\n| Value 1                          | Value 2 | 123                    |           10.0 |\n| Separate                         | cols    | with a tab or 4 spaces |       -2,027.1 |\n| This is a row with only one cell |         |                        |                |\n```\n\n### ASCII table (Reddit Markdown style)\n```\n               Col1               |  Col2   |          Col3          | Numeric Column \n----------------------------------|---------|------------------------|----------------\n Value 1                          | Value 2 | 123                    |           10.0 \n Separate                         | cols    | with a tab or 4 spaces |       -2,027.1 \n This is a row with only one cell |         |                        |                \n```\n\n### ASCII table ([reStructuredText](http://docutils.sourceforge.net/docs/ref/rst/restructuredtext.html#tables) Grid style)\n```\n+----------------------------------+---------+------------------------+----------------+\n|               Col1               |  Col2   |          Col3          | Numeric Column |\n+==================================+=========+========================+================+\n| Value 1                          | Value 2 | 123                    |           10.0 |\n| Separate                         | cols    | with a tab or 4 spaces |       -2,027.1 |\n| This is a row with only one cell |         |                        |                |\n+----------------------------------+---------+------------------------+----------------+\n```\n\n### ASCII table ([reStructuredText](http://docutils.sourceforge.net/docs/ref/rst/restructuredtext.html#tables) Simple style)\n```\n ================================== ========= ======================== ================ \n                Col1                  Col2              Col3            Numeric Column  \n ================================== ========= ======================== ================ \n  Value 1                            Value 2   123                                10.0  \n  Separate                           cols      with a tab or 4 spaces         -2,027.1  \n  This is a row with only one cell                                                      \n ================================== ========= ======================== ================ \n```\n\n### ASCII table (Jira style)\n```\n|| Col1                             || Col2    || Col3                   || Numeric Column ||\n|  Value 1                          |  Value 2 |  123                    |  10.0           | \n|  Separate                         |  cols    |  with a tab or 4 spaces |  -2,027.1       | \n|  This is a row with only one cell |          |                         |                 | \n```\n\n### ASCII table (rounded style)\n```\n.----------------------------------.---------.------------------------.----------------.\n|               Col1               |  Col2   |          Col3          | Numeric Column |\n:----------------------------------+---------+------------------------+----------------:\n| Value 1                          | Value 2 | 123                    |           10.0 |\n:----------------------------------+---------+------------------------+----------------:\n| Separate                         | cols    | with a tab or 4 spaces |       -2,027.1 |\n:----------------------------------+---------+------------------------+----------------:\n| This is a row with only one cell |         |                        |                |\n'----------------------------------'---------'------------------------'----------------'\n```\n\n### ASCII table (bubbles style)\n```\n o88888888888888888888888888888888888(_)888888888(_)888888888888888888888888(_)88888888888888888o \n(_)               Col1               (_)  Col2   (_)          Col3          (_) Numeric Column (_)\n(888888888888888888888888888888888888(_)888888888(_)888888888888888888888888(_)888888888888888888)\n(_) Value 1                          (_) Value 2 (_) 123                    (_)           10.0 (_)\n(_) Separate                         (_) cols    (_) with a tab or 4 spaces (_)       -2,027.1 (_)\n(_) This is a row with only one cell (_)         (_)                        (_)                (_)\n O8oooooooooooooooooooooooooooooooooo(_)ooooooooo(_)oooooooooooooooooooooooo(_)oooooooooooooooo8O \n```\n\n### ASCII table (girder style)\n```\n//==================================[]=========[]========================[]================\\\\\n||               Col1               ||  Col2   ||          Col3          || Numeric Column ||\n|]==================================[]=========[]========================[]================[|\n|| Value 1                          || Value 2 || 123                    ||           10.0 ||\n|| Separate                         || cols    || with a tab or 4 spaces ||       -2,027.1 ||\n|| This is a row with only one cell ||         ||                        ||                ||\n\\\\==================================[]=========[]========================[]================//\n```\n\n### ASCII table (dots style)\n```\n........................................................................................\n:               Col1               :  Col2   :          Col3          : Numeric Column :\n:..................................:.........:........................:................:\n: Value 1                          : Value 2 : 123                    :           10.0 :\n: Separate                         : cols    : with a tab or 4 spaces :       -2,027.1 :\n: This is a row with only one cell :         :                        :                :\n:..................................:.........:........................:................:\n```\n\n### Unicode table\n```\n╔══════════════════════════════════╦═════════╦════════════════════════╦════════════════╗\n║               Col1               ║  Col2   ║          Col3          ║ Numeric Column ║\n╠══════════════════════════════════╬═════════╬════════════════════════╬════════════════╣\n║ Value 1                          ║ Value 2 ║ 123                    ║           10.0 ║\n║ Separate                         ║ cols    ║ with a tab or 4 spaces ║       -2,027.1 ║\n║ This is a row with only one cell ║         ║                        ║                ║\n╚══════════════════════════════════╩═════════╩════════════════════════╩════════════════╝\n```\n\n### Unicode (single line) table\n```\n┌──────────────────────────────────┬─────────┬────────────────────────┬────────────────┐\n│               Col1               │  Col2   │          Col3          │ Numeric Column │\n├──────────────────────────────────┼─────────┼────────────────────────┼────────────────┤\n│ Value 1                          │ Value 2 │ 123                    │           10.0 │\n│ Separate                         │ cols    │ with a tab or 4 spaces │       -2,027.1 │\n│ This is a row with only one cell │         │                        │                │\n└──────────────────────────────────┴─────────┴────────────────────────┴────────────────┘\n```\n\n### Github Markdown table\n```\n|               Col1               |  Col2   |          Col3          | Numeric Column |\n|----------------------------------|---------|------------------------|----------------|\n| Value 1                          | Value 2 | 123                    |           10.0 |\n| Separate                         | cols    | with a tab or 4 spaces |       -2,027.1 |\n| This is a row with only one cell |         |                        |                |\n```\n\n### Jira table\n```\n||             Col1               ||  Col2  ||          Col3         || Numeric Column ||\n| Value 1                          | Value 2 | 123                    |           10.0 |\n| Separate                         | cols    | with a tab or 4 spaces |       -2,027.1 |\n| This is a row with only one cell |         |                        |                |\n```\n\n### MediaWiki markup\n\n```\n{| class=\"wikitable\"\n\n! Col1\n! Col2\n! Col3\n! Numeric Column\n|-\n\n| Value 1\n| Value 2\n| 123\n| 10.0\n|-\n\n| Separate\n| cols\n| with a tab or 4 spaces\n| -2,027.1\n|-\n\n| This is a row with only one cell\n|\n|\n|\n|}\n```\n\n### Or even a boring html \u0026lt;table\u003e\n\nLeading characters can be added by selecting a comment style:\n\n|    Style    |            Characters            |                Usage                 |\n|-------------|----------------------------------|--------------------------------------|\n| none        | \"\"                               | no comment style applied             |\n| doubleslant | \"// \"                            | C++/C#/F#/Java/JavaScript/Rust/Swift |\n| hash        | \"# \"                             | Perl/PowerShell/Python/R/Ruby        |\n| doubledash  | \"-- \"                            | ada/AppleScript/Haskell/Lua/SQL      |\n| percent     | \"% \"                             | MATLAB                               |\n| singlespace | \" \" (1 space)                    | MediaWiki                            |\n| quadspace   | \" \u0026nbsp;\u0026nbsp;\u0026nbsp;\" (4 spaces) | reddit                               |\n| singlequote | \"' \" (single quote)              | VBA                                  |\n| rem         | \"REM \"                           | BASIC/DOS batch file                 |\n| c           | \"C \"                             | Fortran IV                           |\n| exclamation | \"! \"                             | Fortran 90                           |\n| slantsplat  | \"/* ... */ \"                     | CSS                                  |\n| xml         | \"\u0026lt;!-- ... --\u0026gt;\"             | XML                                  |\n\n## License\n\nWTFPL. Do whatever the hell you want with it.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fozh%2Fascii-tables","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fozh%2Fascii-tables","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fozh%2Fascii-tables/lists"}