Suggestions appear as you type. Use the up and down arrows to choose one and Enter to open it.

This page's audience our own tag's counts — open to see them
–Visits
–Page views
–Clicks to vendors
–Time on page
–Reading now
Clicks to vendors, by tool
  • –
Top countries
  • –
Devices
  • –

– · visits, page views and clicks counted by our own tag, which counts more than our checked analytics; every figure rounded down · how we count

PolyglotPiranha

Free#11 of 22 in Code Refactoring Tools

PolyglotPiranha: A free, polyglot refactoring engine for systematic feature-flag cleanup. Ranked #11 of 22 in Code Refactoring Tools by our editors (7.5/10); pricing: Free plan; best for free polyglot feature-flag cleanup.

7.5/10Editor score
PolyglotPiranha7.5 View PolyglotPiranha

At a glance

  • Editor score
    7.5 / 10
  • Pricing
    Free plan
  • Best for
    Free polyglot feature-flag cleanup
  • Free plan
    Yes
  • Paid from
    Free
  • Refactoring scope
    Project
  • Facts checked
    22 Sep 2026
PolyglotPiranha screenshot
  • Where it wins

    • Supports Java, Swift, Python, Kotlin, Go, TypeScript, and TSX
    • Combines chained rule graphs with Tree-sitter and syntax matching
    • Offers dry runs, summaries, a CLI, and a Python API
  • Where it doesn't

    • No AI assistance for generating or explaining refactoring rules
    • No verified integrations beyond its CLI and Python API
    • Rule configuration requires a structured, manual approach

Our verdict on PolyglotPiranha

PolyglotPiranha is an open-source structural search-and-replace engine for developers maintaining codebases across several languages. Its strongest fit is teams handling stale feature flags, repeated transformations, or other repository-wide cleanup that can be expressed as explicit rules. The project supports Java, Swift, Python, Kotlin, Go, TypeScript, and TSX, with project-level scope and batch refactoring. It is available on macOS and Linux, and can also be used through its API-oriented interfaces.

The product’s main depth is its rule system. Developers can define structural search-and-replace operations with Tree-sitter queries, regular expressions, and concrete-syntax matching. Chained and interdependent rule graphs allow one transformation to lead into another, which suits feature-flag removal and related cleanup sequences. Built-in language-specific cleanup rules, comment cleanup, empty-file deletion, dry runs, and code transformation summaries add control around changes before and after execution. The free, open-source model makes these capabilities accessible without a paid tier structure.

PolyglotPiranha is a focused choice for engineering teams that want deterministic, scriptable refactoring rather than AI-assisted suggestions. The command-line interface supports repeatable workflows, while the Python API provides another way to integrate transformations into existing developer processes. Its narrower ecosystem fit and lack of AI assistance make it less suitable for buyers seeking broad integrations, interactive guidance, or generated refactoring plans. Choose it when explicit rules, multi-language coverage, and feature-flag cleanup matter most; choose an alternative when assisted discovery or a larger integration catalog is the priority.

Your product? Our editors can test PolyglotPiranha in depth and publish a review, labelled as paid · from $149/mo →

PolyglotPiranha pricing

Plans Free planFree Free to use — no paid tier required for the core job.
See plans on github.com

PolyglotPiranha fact sheet

Free planYes
Paid fromFree
Supported languagesJava, Swift, Python, Kotlin, Go, TypeScript, TSX
Refactoring scopeProject
Batch refactoringYes
AI assistanceNo
AST-based analysisYes
DeploymentDesktop
DeploymentDesktop
PlatformsmacOS, Linux
SupportCommunity, Docs
Built forSmall business, Mid-market, Enterprise (editorial estimate)
PricingFree plan
Websitegithub.com
Facts checked22 Sep 2026

Alternatives to PolyglotPiranha

See all PolyglotPiranha alternatives →

Used PolyglotPiranha? Be the first to review it

The editor score above is our own research. What this page doesn't have yet is a reader's view — what you used PolyglotPiranha for, what worked and what didn't. No stars are seeded and no review is paid for; an editor reads every one before it appears.

Write a reviewTwo minutes · verified accounts only · read by an editor before it appears

Reviews come only from verified accounts. Sign in or create an account first — your e-mail is never shown.

Your rating

0 characters · at least 80, up to 3,000

Posted from your verified account. Reviews appear after an editor reads them, usually within two working days.

Featured on iTechGuides

Featured on iTechGuides — PolyglotPiranha 7.5/10

PolyglotPiranha is listed in our Code Refactoring Tools directory. Add the badge to your site — it links back to this page.

<a href="https://www.itechguides.com/products/polyglotpiranha/"><img src="https://www.itechguides.com/best/badge/polyglotpiranha.svg" alt="Featured on iTechGuides" width="230" height="46"></a>

Reviewed by iTechGuides Editors · Editorial team · Updated Oct 2026

Advertiser disclosure: iTechGuides is reader-supported. Vendors can pay for top positions in our rankings and for a place on other products' pages, and we may earn a commission when you click some links. Bought places stand at the number bought; this page and our disclosure say so. Paying vendors may get a fuller, more detailed review from our editors, and that review can change their score. How we rank.

Last updated · How we research and update