{"id":15021951,"url":"https://github.com/bhanurp/json-yaml-converter","last_synced_at":"2026-02-12T05:05:06.265Z","repository":{"id":256911205,"uuid":"856794674","full_name":"bhanurp/json-yaml-converter","owner":"bhanurp","description":"simple json \u003c-\u003e yaml converter","archived":false,"fork":false,"pushed_at":"2024-09-14T17:02:09.000Z","size":578,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-24T19:22:23.207Z","etag":null,"topics":["json","prettier","yaml"],"latest_commit_sha":null,"homepage":"https://bhanurp.github.io/json-yaml-converter/","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bhanurp.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-09-13T08:09:42.000Z","updated_at":"2024-09-14T13:07:26.000Z","dependencies_parsed_at":null,"dependency_job_id":"0a78130e-574e-4174-94d4-2d685a5689d0","html_url":"https://github.com/bhanurp/json-yaml-converter","commit_stats":{"total_commits":15,"total_committers":2,"mean_commits":7.5,"dds":0.06666666666666665,"last_synced_commit":"8f2a978ebdad94a905cb724a075dce0e4fe36bfe"},"previous_names":["bhanurp/json-yaml-converter"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/bhanurp/json-yaml-converter","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bhanurp%2Fjson-yaml-converter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bhanurp%2Fjson-yaml-converter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bhanurp%2Fjson-yaml-converter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bhanurp%2Fjson-yaml-converter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bhanurp","download_url":"https://codeload.github.com/bhanurp/json-yaml-converter/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bhanurp%2Fjson-yaml-converter/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":272805572,"owners_count":24995916,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-08-30T02:00:09.474Z","response_time":77,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["json","prettier","yaml"],"created_at":"2024-09-24T19:57:15.315Z","updated_at":"2026-02-12T05:05:01.228Z","avatar_url":"https://github.com/bhanurp.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n# JSON to YAML Converter\n\n## Description\n\nThe **JSON to YAML Converter** is a simple, user-friendly web application that allows users to quickly convert between JSON and YAML formats. This tool supports automatic conversion in both directions and is designed with a focus on ease of use, providing immediate feedback and error handling.\n\n### Key Features:\n- **Automatic Conversion**: As soon as you paste or type content in the JSON or YAML text area, the corresponding format is generated automatically.\n- **Bi-directional Conversion**: Supports conversion from JSON to YAML and vice versa.\n- **Copy to Clipboard**: Includes copy buttons for each format, allowing you to easily copy the generated JSON or YAML.\n- **Prettify JSON**: Formats and beautifies the JSON content for easier readability.\n- **Dark Mode**: Includes a dark mode that can be toggled on and off for a better user experience.\n- **Responsive Design**: Works well on both desktop and mobile devices.\n\n## Live Demo\n\nYou can access the live version of the tool at: [Your Live Demo URL]\n\n## Screenshots\n\n![JSON to YAML Converter](screenshot.png)\n\n## Table of Contents\n\n1. [Features](#features)\n2. [Installation](#installation)\n3. [Usage](#usage)\n4. [SEO Optimization](#seo-optimization)\n5. [Contributing](#contributing)\n6. [License](#license)\n\n---\n\n## Features\n\n- **Automatic Conversion**: Just paste or type JSON or YAML into the respective text areas, and the other format will be generated automatically.\n- **Error Handling**: The app will show errors in the console when the provided JSON or YAML is invalid, helping you debug your input.\n- **Copy Buttons**: Easily copy JSON or YAML to the clipboard using the provided buttons.\n- **Prettify JSON**: Beautify your JSON with proper indentation for better readability.\n- **Dark Mode**: A toggle button allows users to switch between light and dark modes.\n- **Responsive Design**: The application is fully responsive, working smoothly on both mobile and desktop devices.\n\n---\n\n## Installation\n\n### 1. Clone the Repository\n\nTo get a local copy of the project, run the following command in your terminal:\n\n\\`\\`\\`bash\ngit clone https://github.com/your-username/json-yaml-converter.git\n\\`\\`\\`\n\n### 2. Navigate to the Project Directory\n\n\\`\\`\\`bash\ncd json-yaml-converter\n\\`\\`\\`\n\n### 3. Open \\`index.html\\`\n\nSimply open the \\`index.html\\` file in your browser to use the application locally.\n\n\\`\\`\\`bash\nopen index.html\n\\`\\`\\`\n\n---\n\n## Usage\n\n### Convert JSON to YAML\n\n1. Paste or type your JSON content into the **JSON** text area.\n2. The **YAML** format will automatically be generated in the **YAML** text area.\n\n### Convert YAML to JSON\n\n1. Paste or type your YAML content into the **YAML** text area.\n2. The **JSON** format will automatically be generated in the **JSON** text area.\n\n### Copy the Output\n\n- Use the **Copy** buttons next to each text area to copy the content (either JSON or YAML) directly to your clipboard.\n\n### Prettify JSON\n\n- If your JSON input is unformatted, you can click the **Prettify JSON** button to automatically format it for better readability.\n\n### Toggle Dark Mode\n\n- Click the toggle button at the top-right corner to switch between light and dark modes.\n\n---\n\n## SEO Optimization\n\nTo improve the SEO for your application, the following techniques have been applied:\n\n1. **Title and Meta Tags**:\n    - The app uses a descriptive title and meta tags for better search engine visibility.\n    \\`\\`\\`html\n    \u003ctitle\u003eJSON to YAML and YAML to JSON Converter\u003c/title\u003e\n    \u003cmeta name=\"description\" content=\"Convert JSON to YAML and YAML to JSON with this free online converter.\"\u003e\n    \u003cmeta name=\"keywords\" content=\"JSON to YAML, YAML to JSON, JSON converter, YAML converter\"\u003e\n    \\`\\`\\`\n\n2. **Structured Data (JSON-LD)**:\n    - Schema.org structured data has been added to describe the application.\n    \\`\\`\\`html\n    \u003cscript type=\"application/ld+json\"\u003e\n    {\n      \"@context\": \"https://schema.org\",\n      \"@type\": \"WebApplication\",\n      \"name\": \"JSON to YAML Converter\",\n      \"description\": \"An online tool to convert JSON to YAML and YAML to JSON.\",\n      \"url\": \"https://yourwebsite.com\",\n      \"applicationCategory\": \"Utility\",\n      \"operatingSystem\": \"All\",\n      \"author\": {\n        \"@type\": \"Person\",\n        \"name\": \"Your Name\"\n      }\n    }\n    \u003c/script\u003e\n    \\`\\`\\`\n\n3. **Responsive Design**:\n    - The app is fully responsive and optimized for mobile devices, which is a key ranking factor for SEO.\n    \n4. **Sitemap and Robots.txt**:\n    - A sitemap and robots.txt have been included to guide search engine crawlers.\n\n---\n\n## Contributing\n\nWe welcome contributions to improve this project! Please follow these steps to contribute:\n\n1. **Fork the Project**: Click the \"Fork\" button on the top-right of this page and fork it to your own account.\n2. **Create a New Branch**: Create a new feature or bug-fix branch.\n    \\`\\`\\`bash\n    git checkout -b feature/new-feature\n    \\`\\`\\`\n3. **Commit Your Changes**: After making your changes, commit them with a detailed message.\n    \\`\\`\\`bash\n    git commit -m \"Add new feature\"\n    \\`\\`\\`\n4. **Push Your Branch**: Push the changes to your forked repository.\n    \\`\\`\\`bash\n    git push origin feature/new-feature\n    \\`\\`\\`\n5. **Submit a Pull Request**: Create a new pull request to merge your changes into the main repository.\n\n---\n\n## License\n\nThis project is licensed under the MIT License. See the [LICENSE](LICENSE) file for details.\n\n---\n\n## Contact\n\nIf you have any questions or suggestions, feel free to contact me at:\n\n- **Email**: bhanu011@gmail.com\n- **GitHub**: [bhanurp](https://github.com/bhanurp)\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbhanurp%2Fjson-yaml-converter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbhanurp%2Fjson-yaml-converter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbhanurp%2Fjson-yaml-converter/lists"}