.hpp

2 claimants 1 primary 1 secondary unambiguous primary

SWH popularity

Distinct files in the full Software Heritage archive (2026-06-04 export), dated by first appearance, following Desmazières, Di Cosmo, Lorentz (MSR 2025). Case-aggregated. citation.

43.7M
total files
18.1M
first seen 2021–2025 (41.4%)
2020
median year (half its files since)

Case variants in archive: .hpp (43.7M), .HPP (9.0K), .Hpp (139), .hPp (30), .hPP (25), .hpP (2) — aggregated above.

Attribution status

This extension is attributed to C++ as primary by 1 authoritative claim.

Authoritative sources: △ Linguist · secondary △ Pygments · secondary ✓ Wikidata · Q2407 ✗ Wikipedia · no claim

Disagree or have a correction? Open a labelling issue.

Claimants (4)

Languages that list .hpp among their extensions. Strength reflects whether the upstream source treated it as their primary extension.
LanguageSourceStrength
C++wikidataprimary
C++linguistsecondary
C++pygmentssecondary
cpppygmentssecondary

Wikidata says… (3)

File formats, image formats, audio codecs and other non-PL entities that claim .hpp on Wikidata (property P1195) or in the Wikipedia infobox. Source: data/derived/external_extension_index.csv. Click Use as new PL on any row to open the Add-PL form pre-filled with that entry's name, Wikipedia/Wikidata URL, and this extension — one submission creates the PL + claim.
Right entry isn't listed? Add manually ↗
FormatClass (Wikidata P31)Suggested labelMIMENotesAction
header file Q877809
file containing source code with declarations to be textually substituted by users
———Use as new PL ↗
C header file Q29642901
file format
file format———Use as new PL ↗
C++ header Q13039854
file format
file format———Use as new PL ↗

SWH-mined examples (1)

Real archived programs with this extension, byte-verified against the SWH archive, grouped by predicted language and by how the prediction was made. Useful for deciding what this extension actually is when the attribution is uncertain.
unclassified (1) — 1 via fallback
gcWhen.hpp · 1552 B · seen 3353× in SWH
predicted: unclassified via fallback
swh:1:cnt:22d6f76b54fb9956f86bd81e60d2faf0d69932f2;origin=https://github.com/openjdk/jdk;anchor=swh:1:rev:1428db798c8b983c23b31001ce2964f174139fea;path=/src/hotspot/share/gc/shared/gcWhen.hpp
Open in SWH · Raw bytes
Request more SWH-mined examples
If the examples above don't disambiguate what .hpp is, request a fresh mining run.
(or open the pre-filled issue directly)