fmtlib/fmt
A modern formatting library
From the publisher
README & documentation
Source previewRead the project’s overview, installation instructions and usage examples. The original README is the source of truth.
[]( https://github.com/fmtlib/fmt/actions?query=workflow%3Alinux) []( https://github.com/fmtlib/fmt/actions?query=workflow%3Amacos) []( https://github.com/fmtlib/fmt/actions?query=workflow%3Awindows) []( https://issues.oss-fuzz.com/issues?q=title:fmt%20cc:victor.zverovich@gmail.com) []( https://www.bestpractices.dev/projects/8880) []( https://securityscorecards.dev/viewer/?uri=github.com/fmtlib/fmt) [](https://stackoverflow.com/questions/tagged/fmt) [](https://novaukraine.org/) {fmt} is an open-source formatting library providing a fast and safe alternative to C stdio and C++ iostreams. Documentation Cheat Sheets Q&A: ask questions on StackOverflow with the tag fmt. Try {fmt} in Compiler Explorer. [](https://build.demoshell.com/launch?snapshot=demoshell%2Ftools%3Afmt) arguments for localization std::format](https://en.cppreference.com/w/cpp/utility/format) and C++23 std::print to Python\'s format shortness and round-trip guarantees using the Dragonbox algorithm implementation](https://fmt.dev/latest/api/#printf-api) including the POSIX extension for positional arguments types](https://fmt.dev/latest/api/#formatting-user-defined-types) implementations of (s)printf, iostreams, tostring and tochars, see Speed tests and Converting a hundred million integers to strings per second configuration consisting of just three files, core.h, format.h and format-inl.h, and compiled code; see Compile time and code bloat tests and is continuously fuzzed be reported at compile time, automatic memory management prevents buffer overflow errors dependencies, permissive MIT license consistent…
Read the full README ↗ · Preview checked 2026-09-29T13:56:09.903Z
Inside the original README — Document outline
Headings are captured from the source. Links open the publisher’s document, not a locally hosted copy.
Links from the README
References supplied by the publisher, not independently verified endorsements. Check the destination before downloading files or entering credentials.
Documentation belongs to its respective authors. Reported project/model license: MIT. A listing is not a grant of reuse or training rights. Confirm the document’s own terms at the source.
What this repository does
A modern formatting library
Repository facts
- Owner
- fmtlib
- Primary language
- C++
- Stars
- 25,821
- Forks
- 3,071
- Open issues + pull requests
- 11
- License
- MIT
- Archived
- No
- Default branch
- main
- Created
- 2012-12-07T16:26:46.000Z
- Last push
- 2026-09-27T17:44:18.000Z
Topics and intended use
Owner-supplied topics: c-plus-plus, chrono, cpp, cross-platform, floating-point, formatting, multiplatform, output, performance, printf, ranges, unicode
Review the README for scope, installation, examples and limitations. We do not run repository code or certify it.
Evaluate before installing
Review licensing and dependencies, inspect recent commits and unresolved issues, and test in an isolated environment before production use. Stars and forks alone cannot answer these questions.
Source and freshness
Source: GitHub. Metadata observed 2026-09-29T12:04:09.244Z. Daily imports are snapshots, not real-time monitoring.
Popularity and source listings do not establish security, suitability, licensing rights or benchmark performance.