$npx skillfedfor your agent

tf2onnx

Tensorflow to ONNX converter

With conditionsPyPI Software DevelopmentReleased Mar 2026395.3K downloads / moApache-2.0Pure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — tf2onnx-1.17.0-py3-none-any.whl
v1.17.0 · released 2026-03-04 · Python >=3.10 · 5 runtime deps: numpy, onnx, requests, flatbuffers, protobuf

Yes, if you need to convert TensorFlow models to ONNX. The package is production-stable, actively maintained, has no known security issues, and installs with low friction. The main caveat is that not all TensorFlow operations map cleanly to ONNX, so conversion success depends on your specific model architecture. The active search for a new maintainer is a yellow flag for long-term support, but current maintenance is solid.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires TensorFlow 2.13 or later and Python 3.10-3.12; TensorFlow must be installed separately before conversion.
  • Low friction install with stable maintenance.
  • The package is actively maintained, has no known vulnerabilities, and depends on standard libraries (numpy, onnx, protobuf, flatbuffers, requests).

License · maintenance · safety

Apache-2.0 (permissive) — Apache-2.0 is a permissive license allowing commercial use, modification, and distribution with minimal restrictions, making this package suitable for most production and research contexts.

last release 2026-03-04 (163 days) · last repo commit 2026-08-03 · 2,551 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 395,329 downloads/mo, #6,981 on PyPI

Verify before relying

pip install tf2onnx
python -m tf2onnx.convert --saved-model tensorflow-model-path --output model.onnx
  • Extent of tensorflow.js model support coverage beyond the noted experimental status and tested tfhub models
  • Performance characteristics and conversion success rates for complex or custom TensorFlow operations
  • Compatibility guarantees with TensorFlow versions outside the tested 2.13-2.15 range
Same gist for agents: .md · .json

What it is and what it does

tf2onnx is a model converter that takes trained TensorFlow models in various formats (saved_model, checkpoint, graphdef, tflite, tensorflow.js) and translates them into ONNX format. This enables models trained in TensorFlow to run on any ONNX-compatible runtime, improving portability and deployment flexibility. The package works via a command-line interface or Python API, with support for opset versions 14-18 (default 15). It requires TensorFlow 2.13 or later and Python 3.10-3.12.

The converter handles the fundamental challenge that TensorFlow has more operations than ONNX, so not all models convert cleanly. The project documents supported operations and provides troubleshooting guidance. TensorFlow.js support is experimental. The package is actively maintained but currently seeking a new maintainer, which is worth noting when evaluating long-term reliability.

Use it for

  • Deploy TensorFlow models on inference engines that don't natively support TensorFlow format
  • Convert Keras models to ONNX for cross-platform inference on mobile, edge, or cloud deployments
  • Migrate TFLite models to ONNX when targeting different hardware accelerators or inference frameworks
  • Enable model interoperability in ML pipelines that mix models from different training frameworks
  • Export trained models for production serving on systems where TensorFlow runtime is unavailable

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

With conditions

Yes, if you need to convert TensorFlow models to ONNX.

The package is production-stable, actively maintained, has no known security issues, and installs with low friction. The main caveat is that not all TensorFlow operations map cleanly to ONNX, so conversion success depends on your specific model architecture. The active search for a new maintainer is a yellow flag for long-term support, but current maintenance is solid.

Install

tf2onnx on PyPI

Before you install

Low friction install with stable maintenance. The package is actively maintained, has no known vulnerabilities, and depends on standard libraries (numpy, onnx, protobuf, flatbuffers, requests). However, the project is actively seeking a new maintainer, which may signal future maintenance uncertainty.

Requires TensorFlow 2.13 or later and Python 3.10-3.12; TensorFlow must be installed separately before conversion.

License in practice

Apache-2.0 is a permissive license allowing commercial use, modification, and distribution with minimal restrictions, making this package suitable for most production and research contexts.

Quickstart

pip install tf2onnx
python -m tf2onnx.convert --saved-model tensorflow-model-path --output model.onnx

Verify before relying

  • Extent of tensorflow.js model support coverage beyond the noted experimental status and tested tfhub models
  • Performance characteristics and conversion success rates for complex or custom TensorFlow operations
  • Compatibility guarantees with TensorFlow versions outside the tested 2.13-2.15 range

Package facts

LicenseApache-2.0 permissive
Python supportSupports the current Python release >=3.10
Install frictionLow. Pure-Python wheel
Runtime dependencies
5 packages
numpyonnxrequestsflatbuffersprotobuf
MaintenanceActively maintained 163 days since the last release
Last repo commit
First released
Downloads395,329 / month, #6,981 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 5 - Production/StableIntended Audience :: DevelopersIntended Audience :: EducationIntended Audience :: Science/ResearchProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Topic :: Scientific/EngineeringTopic :: Scientific/Engineering :: Artificial IntelligenceTopic :: Scientific/Engineering :: MathematicsTopic :: Software DevelopmentTopic :: Software Development :: LibrariesTopic :: Software Development :: Libraries :: Python Modules

Evidence: tf2onnx-1.17.0-py3-none-any.whl

Tags

Capabilities
tensorflow to onnx converterconvert keras models to onnxtflite model conversiontensorflow model exportonnx model conversion tool
Topics
model-conversiononnxtensorflow

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “tensorflow to onnx converter”

  • tf2onnxConverts TensorFlow, Keras, TensorFlow.js, and TFLite models to ONNX…
  • onnx2tfConverts ONNX model files to LiteRT, TensorFlow, PyTorch,…
  • onnxmltoolsConverts machine learning models from multiple frameworks…

Give your agent the search over MCP, or paste the wish link into any chat.

More Software Development packages

typing-extensions Worth it
PyPI · Software Development · released Jul 2026

Provides backported and experimental type hints for Python 3.9+, allowing use of newer typing features on older Python versions and enabling early experimentation with type system PEPs before they enter the standard library.

PSF-2.0pure Python · 3.9+
1.9Bdownloads / mo
numpy Worth it
PyPI · Software Development · released Aug 2026

NumPy provides an N-dimensional array object and a comprehensive suite of mathematical, linear algebra, Fourier transform, and random number functions for scientific computing in Python.

BSD-3-Clause AND 0BSD AND MIT AND Zlib AND CC0-1.0compiled wheel · 3.12+
1.1Bdownloads / mo
fastapi Worth it
PyPI · Software Development · released Jul 2026

FastAPI is a Python web framework for building REST APIs using type hints, with automatic request validation, serialization, and interactive API documentation.

MITpure Python · 3.10+
568.6Mdownloads / mo
annotated-doc With conditions
PyPI · Software Development · released Jul 2026

Provides a way to document function parameters, class attributes, return types, and variables inline using Python's `Annotated` type hint syntax instead of traditional docstrings.

MITpure Python · 3.9+
456.2Mdownloads / mo
typer Worth it
PyPI · Software Development · released Aug 2026

Typer builds command-line applications from Python functions using type hints, automatically generating help text, argument parsing, and shell completion.

Install it if you are building CLIs in Python.

MITpure Python · 3.10+
369.3Mdownloads / mo
distlib With conditions
PyPI · Software Development · released Jun 2026

Distlib provides low-level packaging utilities for building, distributing, and managing Python software—including metadata handling, version specifiers, wheel support, script installation, and dependency resolution.

permissive licensepure Python
323.3Mdownloads / mo

See also onnx2tf · onnxmltools · tensorflowjs · onnx2torch · tflite · onnxsim · onnx-graphsurgeon · onnxconverter-common · scc4onnx · soc4onnx