CanDoYa
HI

Snake case converter

पूरी तरह आपके ब्राउज़र में चलता है - न कुछ अपलोड, न साइन-अप।

किसी भी script के letters और numbers रखे जाते हैं; punctuation, spaces और case boundaries underscores बनते हैं।
Input text या identifiers
snake_case output
Text या identifiers paste करें ताकि उन्हें snake_case में convert किया जा सके
यह टूल शेयर करें

snake case converter क्या होता है?

snake case converter टेक्स्ट या code-style नामों को underscore से अलग identifiers में बदलता है, जैसे user_profile_url। कोई phrase, camelCase, PascalCase, kebab-case या मिली-जुली punctuation वाला टेक्स्ट पेस्ट करें और परिणाम तुरंत बदलता है। यह कई लाइनों को भी संभालता है और constants के लिए SCREAMING_SNAKE_CASE में स्विच कर सकता है।

कैसे इस्तेमाल करें

  1. 1टेक्स्ट पेस्ट करें. Phrase, labels की list या मौजूदा identifiers डालें। हर input line एक output line बनेगी।
  2. 2case चुनें. डिफॉल्ट snake_case output रखें या constants और environment variables के लिए SCREAMING_SNAKE_CASE पर स्विच करें।
  3. 3Character handling चुनें. Multilingual text के लिए Unicode letters चालू रखें, या strict ASCII identifiers चाहिए तो इसे बंद करें।
  4. 4Result copy करें. Converted identifier या पूरी converted column लेने के लिए Copy का इस्तेमाल करें।

किसके लिए है

यह converter पूरी तरह आपके ब्राउज़र में चलता है, इसलिए pasted code, database fields और private notes अपलोड नहीं होते। यह HTTPServerError, customerProfileURL और invoice-total जैसे आम identifier boundaries को अलग करता है, फिर दोहराए गए separators को एक underscore में बदल देता है। localized identifiers के लिए Unicode letters डिफॉल्ट रूप से सुरक्षित रहते हैं, और strict ASCII mode Latin accents को तब plain बना देता है जब किसी system को केवल a-z, 0-9 और underscores चाहिए।

अक्सर पूछे जाने वाले सवाल

क्या यह snake case converter मुफ्त है?

हां। टूल मुफ्त है, sign-up नहीं मांगता और normal browser use में line limit जैसी कोई practical परेशानी नहीं है। एक value या पूरी column paste करें और तुरंत convert करें।

क्या मेरा टेक्स्ट कहीं upload होता है?

नहीं। Conversion आपके browser में local रूप से होता है। आपके identifiers, internal field names, API payloads और draft text आपके device पर ही रहते हैं।

snake_case का मतलब क्या है?

snake_case naming style है जिसमें words lowercase में होते हैं और underscores से अलग होते हैं, जैसे <code>customer_profile_url</code>। यह Python, Ruby, Rust, databases, file names और कई API conventions में आम है।

क्या यह camelCase या PascalCase convert कर सकता है?

हां। यह आम case boundaries detect करता है, इसलिए <code>customerProfileURL</code> <code>customer_profile_url</code> बनता है और <code>HTTPServerError</code> <code>http_server_error</code> बनता है।

SCREAMING_SNAKE_CASE किसलिए होता है?

SCREAMING_SNAKE_CASE uppercase variant है, जो आमतौर पर constants, enum values और environment variables जैसे <code>API_BASE_URL</code> के लिए इस्तेमाल होता है। जब destination style uppercase identifiers चाहता हो, तब SCREAMING mode चुनें।

क्या यह accents और non-English text support करता है?

हां। Unicode letters डिफॉल्ट रूप से रखे जाते हैं, इसलिए Cyrillic, Greek, Hindi, Chinese और दूसरी scripts के words spaces या punctuation से अलग होने पर सुरक्षित रहते हैं। Strict ASCII output चाहिए तभी Unicode बंद करें।

क्या मैं कई names एक साथ convert कर सकता हूं?

हां। हर line में एक value paste करें और tool उसी order में हर line के लिए एक converted identifier लौटाएगा। यह spreadsheet headers, database columns और bulk code cleanup के लिए उपयोगी है।