JsCripted Logo JsCripted ← Back to Home

JsCripted DevBox

Free, fast, and developer-friendly tools to clean text, format JSON, test regex, convert case styles, generate secure passwords, convert colors, handle HTML entities, and create lorem ipsum — all in one place.
No login. Just powerful tools to boost your productivity 💻

Text Cleaner

Removes extra spaces, empty lines, and smart quotes from your text.

🧽 Why Clean Your Text?

Raw text often contains unwanted spaces, empty lines, or curly quotes from word processors like Microsoft Word. These issues can break code, reduce readability, or create bugs in copy-paste workflows.

📌 Common Use Cases:

  • Cleaning JSON or code before pasting into editors
  • Fixing blog posts or docs copied from Word
  • Removing smart quotes (e.g. “ ”) and replacing with straight quotes (" ")
  • Getting rid of extra line breaks for social media captions
  • Preparing clean text for AI models or SEO tools

Pro tip: Keep your text simple, readable, and format-free before you publish or paste it.

JSON Formatter & Validator

Paste JSON to format and validate.

If the JSON is invalid, an Auto-Fix button will appear.
🛠 Note: This feature is experimental (Beta) and currently handles:
  • Unquoted keys (e.g. {name: "Name"})
  • Trailing commas (e.g. { "x": 1, })
  • Basic missing quotes or colons
It may not fix deeply broken structures or nested errors. Always review the output before using.

      
    
    

📦 What is JSON?

JSON (JavaScript Object Notation) is a lightweight data format used to exchange information between servers and applications. It's widely used in APIs, config files, databases, and frontend/backend communication.

🧠 Common Mistakes Developers Make:

  • Missing quotes around keys: { name: "User One" }
  • Trailing commas: { "a": 1, }
  • Unescaped characters: {"text": "Line\nBreak"}
  • Using single quotes instead of double quotes ❌
  • Non-UTF8 characters or invalid nesting

✅ Best Practices for Clean JSON:

  • Always use double quotes for keys and string values
  • Validate before sending data to APIs
  • Use a formatter for better readability and debugging
  • Keep structure consistent (avoid mixing arrays & objects randomly)
  • Minify JSON for production, format it for development

Tip: This tool is perfect for quickly fixing broken JSON from API responses, Postman exports, or log files.

HTML Entities Converter

Convert special characters to/from HTML entities.


  
    
    
    

💡 What Are HTML Entities?

HTML entities are used to display reserved or invisible characters in HTML. For example, instead of using the character `<` which might break HTML code, we write `<`.

📌 Commonly Used Entities

Character Entity Name Entity Code Meaning
< &lt; < Less than
> &gt; > Greater than
& &amp; & Ampersand
" &quot; " Double Quote
' &apos; ' Single Quote
  &nbsp;   Non-breaking space

Color Converter 🎨

Convert between HEX, RGB, and RGBA formats. Live preview with opacity.

Pick a color visually and get the HEX, RGB, and RGBA instantly.

🎨 How to Create Harmonious Color Schemes

  • Analogous: Colors next to each other on the color wheel (e.g., blue, teal, green).
  • Complementary: Colors opposite each other (e.g., blue & orange).
  • Monochromatic: Variations of the same hue (light to dark).
  • Triadic: Three evenly spaced colors (e.g., red, yellow, blue).
  • Keep contrast readable (light background = dark text).

🌈 Ready-to-Use Color Palettes

Free Online Regex Tester & Pattern Validator

Quickly test, debug, and validate your regular expressions (regex) using this live JavaScript-based tool. Includes real-time match results and common regex pattern examples.

💡 Using ^ or $? Remove extra spaces/newlines or skip them for better matches.


  
    
    

Common Regex Patterns for Developers

Browse useful regular expression patterns below. Copy and test them instantly.

Pattern Name Regex Example
Email ^[A-Za-z0-9](?:[\w.-]*[A-Za-z0-9])?@[\w.-]+\.\w+$ example@email.com
Password (Strong) ^(?=.*[a-z])(?=.*[A-Z])(?=.*\d)(?=.*[\W_]).{8,}$ P@ssw0rd!
Password (Medium) ^(?=.*[a-z])(?=.*[A-Z])(?=.*\d).{6,}$ Test123
Password (Only Letters & Special) ^(?=.*[a-zA-Z])(?=.*[!@#$%^&*]).{6,}$ hello@you
Phone (International) ^\+(?:[0-9] ?){6,14}[0-9]$ +44 1234 567890
Text Only (English) ^[a-zA-Z ]*$ Hello World
Numbers Only ^[0-9]*$ 123456
Text with Numbers ^[a-zA-Z0-9 ]*$ user123
Arabic Only (with Diacritics) ^[\u0621-\u064A\s\u064B-\u0652]*$ مُرَحباً بكمْ في عالمِ البرمجة
Arabic + English ^[\u0621-\u064Aa-zA-Z ]*$ Hello مرحبا
Arabic + English + Numbers ^[\u0621-\u064Aa-zA-Z0-9 ]*$ مرحبا123 Hello
All (AR/EN/Numbers/Symbols) ^[\u0621-\u064Aa-zA-Z0-9\s\!\@\#\$\%\^\&\*\(\)\_\+\-\=\[\]\{\}\;\'\:\"\\\|\,\.\/\<\>\?]*$ مرحبا!@# Hello123
No Spaces (All Chars) ^[\u0621-\u064Aa-zA-Z0-9!@#$%^&*`()_+\-=\[\]{};':"\\|,.<>\/?]*$ مرحبا123@#Hello
Username (Alphanumeric) ^[a-zA-Z0-9_]{3,16}$ dev_user123
Slug ^[a-z0-9]+(?:-[a-z0-9]+)*$ jscripted-devbox
URL https?:\/\/(www\.)?[\w\-]+(\.[\w\-]+)+[/#?]?.*$ https://example.com
Hex Color ^#?([a-fA-F0-9]{6}|[a-fA-F0-9]{3})$ #FFA07A
IPv4 Address ^(?:(?:25[0-5]|2[0-4]\d|1?\d{1,2})\.){3}(?:25[0-5]|2[0-4]\d|1?\d{1,2})$ 192.168.1.1

⚠️ Note: These regex patterns are for reference and learning. Always test your expressions based on the language or environment you’re using.

Password Generator

Generate strong, secure, and customizable passwords with optional keywords and leetspeak.

Tip: If you include a keyword, consider increasing the total length for a stronger password.

••••••••••••

🔐 Tips for Creating Strong Passwords

  • Use a mix of uppercase and lowercase letters, numbers, and symbols.
  • Avoid common passwords like 123456 or password.
  • Longer passwords are more secure. Aim for at least 12–16 characters.
  • Don’t reuse the same password across multiple sites.
  • Try combining a memorable word with random characters (e.g., MyBrand#2024).
  • Use a password manager to store them safely.
❓ Are the passwords stored anywhere?

No. All password generation happens locally in your browser. Nothing is sent to any server.

🔒 Is this tool safe to use?

Yes. It runs entirely in your browser with no tracking, storage, or external requests. It's designed for privacy-focused developers.

Want to advertise on JsCripted?

Reach thousands of developers by promoting your tool or service here.

Contact Us