# google-research/arxiv-latex-cleaner

arXiv LaTeX Cleaner: Easily clean the LaTeX code of your paper to submit to arXiv

Repository: https://github.com/google-research/arxiv-latex-cleaner
Canonical: https://ross.abutalabs.com/products/arxiv-latex-cleaner
Language: Python
License: Apache-2.0
License Family: permissive
Topics: arxiv, latex
Last push: 2026-03-27T21:04:20+00:00

## Health v2 (maintenance only)
Score: 80/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 74, release rhythm 77, longevity 100
- inputs: {"age_days": 2794, "days_push": 159, "days_rel": 159, "gap_med": 11, "n_releases_24m": 2}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 7022, forks 415 (observed 2026-08-28T04:09:54.918926+00:00)

## What it is
A Python command-line tool from Google Research that cleans LaTeX source code of academic papers for arXiv submission. It removes comments, auxiliary files, unused .tex files and images, and can resize images and compress PDFs to fit arXiv's 50MB limit.

## Use cases
- prepare my latex paper folder for arxiv submission
- remove comments from latex source before uploading
- strip unused images and tex files from a paper
- resize images so my arxiv submission fits under 50MB
- hide tikzpicture source code before submitting to arxiv
- clean auxiliary files like .aux and .log from latex project

## When to choose
- you are submitting a LaTeX paper to arXiv and want an automated, ready-to-upload folder
- your submission exceeds arXiv's size limit and needs image resizing or PDF compression
- you want to strip comments and personal notes from your source for privacy

## When to avoid
- you need general-purpose LaTeX formatting or compilation rather than submission cleanup
- your project is not LaTeX-based or not destined for arXiv
- you need fine-grained manual control over every file included in the submission

## Facets
- artifact type: cli-tool
- maturity: active
- function: developer-tools, file-system, compression, image-processing, pdf
- domain: developer-tools, files, pdf
- platform: cli, python, windows, cross-platform
- tags: latex, arxiv, academic-publishing, paper-submission, cleanup, command-line, linux, macos

## Member repositories
- google-research/arxiv-latex-cleaner (main) score 80

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:09:54.918926+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T17:40:37.931709+00:00, confidence not recorded.
  - readme: https://github.com/google-research/arxiv-latex-cleaner (fetched 2026-08-28T04:09:54.918926+00:00, sha efa0305c1661)
  - registry_pypi: https://pypi.org/pypi/arxiv-latex-cleaner/json (fetched 2026-08-29T08:36:25.731544+00:00, sha 5b6c6831ff92)
- Data as of 2026-08-30T08:39:29.467469+00:00.
