DEV Community

Mayank Tagadiya
Mayank Tagadiya

Posted on

I Built a Tool to Make AI-Generated Code Look Human-Written

The Problem

We all use AI to write code now. ChatGPT, Copilot, Claude — they're incredible productivity boosters. But there's a catch: AI-generated code has a distinctive "too clean" style that's increasingly detectable.

Whether you're a student worried about code similarity checks, a developer who wants commits to look organic, or a freelancer who wants deliverables to feel hand-crafted — the "AI smell" is a real problem.

What I Built

Code Humanizer transforms AI-generated code into code that looks naturally hand-written.

It works by modifying:

  • Variable naming patterns (from pristine to human-like)
  • Spacing and formatting inconsistencies
  • Comment styles
  • Minor stylistic choices real developers make

Critically, it never changes your code's logic or functionality.

The Persona System

My favorite feature is the developer persona system. Instead of one-size-fits-all, you can choose:

  • 🎓 Junior Dev — Makes code look like a learner wrote it
  • 🦉 Night Owl — Adds tired-coder quirks (inconsistent naming, extra spaces)
  • 🔥 Messy Coder — Maximum variation and human-like chaos
  • 👨‍💻 Senior Dev — Subtle, minimal changes that look intentional

Each persona produces genuinely different output because they model how different developers actually write.

Try It

It's free to use at codehumanizer.com — 7 humanizations per day, no credit card needed.

Currently supports Python, JavaScript, Java, and C/C++. More languages coming soon.

Would love your feedback — what features would make this more useful for your workflow?

Top comments (0)