{"id":19327836,"url":"https://github.com/kenshoo/file-format-streaming-converter","last_synced_at":"2026-07-02T19:34:17.667Z","repository":{"id":57725862,"uuid":"91317559","full_name":"kenshoo/file-format-streaming-converter","owner":"kenshoo","description":"A file format converter from xlsx to csv using streaming.","archived":false,"fork":false,"pushed_at":"2025-08-20T08:37:53.000Z","size":156,"stargazers_count":2,"open_issues_count":2,"forks_count":0,"subscribers_count":98,"default_branch":"master","last_synced_at":"2025-10-30T19:44:38.838Z","etag":null,"topics":["public-repo"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/kenshoo.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2017-05-15T09:08:17.000Z","updated_at":"2025-08-20T08:37:55.000Z","dependencies_parsed_at":"2025-01-06T07:34:24.083Z","dependency_job_id":null,"html_url":"https://github.com/kenshoo/file-format-streaming-converter","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/kenshoo/file-format-streaming-converter","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kenshoo%2Ffile-format-streaming-converter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kenshoo%2Ffile-format-streaming-converter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kenshoo%2Ffile-format-streaming-converter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kenshoo%2Ffile-format-streaming-converter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kenshoo","download_url":"https://codeload.github.com/kenshoo/file-format-streaming-converter/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kenshoo%2Ffile-format-streaming-converter/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":35060908,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-07-02T02:00:06.368Z","response_time":173,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["public-repo"],"created_at":"2024-11-10T02:18:59.540Z","updated_at":"2026-07-02T19:34:17.635Z","avatar_url":"https://github.com/kenshoo.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"﻿# file-format-streaming-converter [![Build Status](https://travis-ci.org/kenshoo/file-format-streaming-converter.svg?branch=master)](https://travis-ci.org/kenshoo/file-format-streaming-converter)\n\nThis is a file format converter from xlsx to csv. The main use of this repository is to convert \nlarge xlsx files to csv files using streams instead of reading the entire contents of a file.\nThis converter is able to read strings, texts, booleans and dates.\n\n\nExample:\n\nAn xlsx file that looks like this:\n\n|Header 1   | Header 4\t|Header 5\t|Header 6\t  |\n|-----------|-----------|-----------|-------------|\n|Value 11   | Value 14  |411\t    |Value 16\t  |\n|Value 21   | 411\t    |Value 17\t|¥a®\t      |\n|Value 31   | 411\t    |Value 18\t|ßÐ ÆÄÁ  ®Æ\t  |\n|Value 51   | 411\t    |Value 20\t|ウェブの国際化 |\n|Value 71   | 411\t    |30/07/17\t|Æ ç Ü ß à ô  | \n|Value 91   | 411\t    |Value 24\t|Φ ψ α έ Ω    |\n|Value 101  | 411\t    |Value 25\t|й ф Ы Щ Д\t  |\n\n\nWould translate to a same looking csv file, including the special characters and the dates.\n\nDependencies\n===\nThis project depends on [excel-streaming-reader](https://github.com/monitorjbl/excel-streaming-reader) which is a library\nthat provides xlsx file type parsing using streams (for big files). \n\nCode usage example\n=========\nAdd the jar to your dependenies\n**Apache Maven**\n```xml\n\u003cdependency\u003e\n    \u003cgroupId\u003ecom.kenshoo\u003c/groupId\u003e\n    \u003cartifactId\u003exlsx2csv\u003c/artifactId\u003e\n    \u003cversion\u003e0.1.2\u003c/version\u003e\n\u003c/dependency\u003e\n```\n**Gradle**\n\n`compile 'com.kenshoo:xlsx2csv:0.1.2'`\n\n**Usage**\n\nFirst you should create an output stream (here I first created a file and an output stream on top).\n\nThen you should create an input stream with the xlsx file that will be translated, for example with ClassLoader method\ngetSystemResourceAsStream() with the file name a sa parameter. \n\nAfterwards, you send both the source input stream and the dest output stream to convert:\n```java\nimport com.kenshoo.xlsx2csv.XlsxToCsvConverter;\nimport java.io.*;\n\npublic class Converter {\n  private final static String SOURCE_FILE_PATH = \"/path/example-input.xslx\"\n  private final static String DEST_FILE_NAME = \"/path/example-result.csv\"\n    \n  //building a new converter with default parameters\n  private final XlsxToCsvConverter xlsxToCsvConverter = new XlsxToCsvConverter.Builder().build();\n  \n    public void function convert() {\n      final FileOutputStream outputStream = new FileOutputStream(new File(DEST_FILE_NAME));\n      final InputStream inputStream = new FileInputStream((SOURCE_FILE_PATH);\n                                                          \n      xlsxToCsvConverter.convert(inputStream, outputStream);\n    }\n}\n``` \nAfter convert(), the translated file should be inside the outputStream (or inside the file).\n\nAcknowledgements\n====\n[@monitorjbl](https://github.com/monitorjbl) for providing the excel-streaming-reader api.\n\nLicensing\n=========\nfile-format-streaming-converter is licensed under the Apache License, Version 2.0. See\n[LICENSE](https://github.com/kenshoo/file-format-streaming-converter/blob/master/LICENSE) for the full\nlicense text.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkenshoo%2Ffile-format-streaming-converter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkenshoo%2Ffile-format-streaming-converter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkenshoo%2Ffile-format-streaming-converter/lists"}