Many text editors today support syntax highlighting for code, where if you tell (usually by file name) what language the code uses, it will recognize structures, variables, etc., by the way they're used in the code.

I'm looking for either a program or a website that will do the reverse - if I paste a chunk of "anonymous" code into it, it will analyse it and return a list of languages that the code might be in, in decreasing probability order.

Is there such a program/website?

(If a program, it should run on Windows or Linux Mint; I would prefer FOSS, but am not averse to payware, though I have not attempted to evaluate what an acceptable budget would be.)

  • 1
    If program: what OS should it run on? How much you'd be willing to spend if it came to paid solutions? – Izzy Sep 26 '19 at 22:17

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.