
In Progress
Posted
I’m building a small web-based tool that takes a DOCX manuscript and automatically prepares it for Kindle Direct Publishing. The core of the job is the Python backend: an endpoint that receives a DOCX upload, applies the required KDP-compatible page size, margin, and basic style rules, then returns the newly formatted file. Here’s what I need from you: • A clean, well-structured Python service (FastAPI or Flask is fine) that exposes one route for the file upload. • Inside that route, code that extracts the DOCX content, applies formatting rules (trim size, margins, paragraph spacing, headers/footers as appropriate for KDP paperback), and rebuilds the document. • The API should respond with the re-formatted DOCX ready for the next production step. If you prefer python-docx, docx-compose, or any other open-source library, just outline why it suits the task; I’m happy to approve. The frontend is handled separately, so focus purely on backend logic, error handling, and a concise README for local setup and testing (virtualenv, [login to view URL], sample cURL command). Acceptance criteria 1. Uploading an unformatted DOCX returns a file that passes KDP’s automatic previewer without margin or layout warnings. 2. Code is Python 3.10+ compatible and runs with a single pip install -r requirements.txt. 3. Clear comments and a short usage guide. If everything checks out, I’ll be looking to extend the app with preview and export endpoints, so solid, modular code now will open the door for follow-up work.
Project ID: 40505027
84 proposals
Remote project
Active 6 days ago
Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs

As an experienced and highly-skilled Backend Developer with a specialization in Django, I am confident that I am the perfect fit for your Python KDP Manuscript Formatter project. Through my extensive work in web and application development, I have gained deep knowledge of Python and its various libraries, such as python-docx and docx-compose, which are exactly what you will need for this task. Drawing from my past experiences developing clean, well-structured Python services using frameworks like FastAPI and Flask, I can assure you of a streamlined solution. My code is always written with Python 3.10+ compatibility in mind, and can be easily installed with a single command 'pip install -r [login to view URL]'. Moreover, my penchant for clear comments and concise documentation ensures error handling becomes a breeze in the future. Considering your acceptance criteria, you'll be delighted to know that I have a proven track record of delivering high-quality OCR processing projects that delicately manipulate file formats. This means your unformatted DOCX upload will magically transform into a manuscript that perfectly aligns with KDP's paperback requirements sans any margin or layout warnings.
$15 CAD in 40 days
4.1
4.1
84 freelancers are bidding on average $22 CAD/hour for this job

Hi, I have over 5+ years of experience in both frontend and backend development. I will do the specified tasks. Key Areas of Expertise: a) Full-Stack Development: Proficient in both frontend and backend technologies Frontend: Next, Js, ReactJS, Bootstrap, JavaScript, jQuery Backend: Laravel, CodeIgniter, Node.js b) API Integration: Experienced in integrating and working with APIs to enhance application functionality. c) Microservices: Skilled in developing and integrating microservices for scalable and efficient solutions. d) Database Management: Competent in managing databases with Postgresql, MySQL, MongoDB, and Oracle. d) Server Handling: Adept at handling server environments such as AWS, Google Cloud, VPS, Apache, and Nginx. Let’s discuss how I can help achieve your project goals and add value.
$15 CAD in 500 days
6.1
6.1

Hi, We’ve built similar tools that convert Word documents into KDP-ready PDFs, ensuring they pass Amazon’s previewer without issues. We also developed a web app that converts Word documents into Markdown, extracting headings, images, and other elements for optimized output. For your project, I recommend using Python libraries like `python-docx` or `docx2python` to extract content from DOCX files. We can then apply KDP-specific formatting rules and convert the content into a PDF using libraries like `pdfkit` or `WeasyPrint`. This approach allows us to focus on the content rather than the layout, ensuring a more reliable output. Let’s schedule a quick 10-minute call to discuss your project in detail and see if I’m the right fit. I usually respond within 10 minutes. I’m eager to learn more about your exciting project. Best regards, Adil
$23.72 CAD in 40 days
6.0
6.0

I see you're working on a web-based tool to format DOCX manuscripts for KDP. That sounds like a great project to simplify the manuscript preparation process. With around 10 years of experience in Python and Django, I'm confident I can help you build this tool effectively. I understand your goal is to automate the formatting to save time and reduce errors, which is key for authors preparing their work for publication. Some similar things I've built include a document management system for a local publishing house, an automated report generator for an education platform, and a manuscript submission tool for a writing community. Let’s make your vision a reality. Could you please clarify the following questions to help me better understand the project? Q1: What specific formatting styles or requirements do you want to include for the KDP manuscripts? Q2: Will the tool need to support any particular features like templates or custom styles? Q3: Do you have any preferences for the deployment environment or hosting solutions for this app?
$25 CAD in 5 days
6.2
6.2

Regarding your tool, modifying page setup parameters in python-docx alters the underlying OpenXML package. KDP's previewer rejects files if section properties like w:pgMar aren't mapped perfectly to precise point scales. I manipulate XML root elements directly. This stops layout clipping. My FastAPI service will Ensure your section breaks preserve mirror margins across pages. And I will Deliver a modular framework passing verification. I recently built a python-docx script that formatted five hundred books for Amazon without a single margin rejection. I include a predefined library of standard KDP trim sizes. Do you want the script to automatically inject blank pages so chapters always start on the right-hand page? Let's discuss.
$18 CAD in 20 days
4.8
4.8

⚠️ If you're not happy, you don’t pay. ⚠️ Hi there, Thank you for sharing the detailed project brief. I can build your manuscript formatting tool for Kindle Direct Publishing using Python (FastAPI or Flask) with a robust and efficient design. I will deliver: • Clean Python service with a single upload route • Extraction and application of KDP-compatible formatting rules • API to return reformatted DOCX files • Concise README for easy local setup and testing • Clear comments and a user guide You will also receive: • Seamless scalability for future app extensions I am confident I can execute your vision professionally and efficiently. Looking forward to discussing timeline and next steps. Best regards, Chirag.
$15 CAD in 30 days
4.0
4.0

As a dedicated and seasoned Full-Stack Web Developer, I am excited to bring my skills to your Python KDP Manuscript Formatter project. While my expertise mainly lies in PHP, Node.js, Vue.js, and C#, I have ample experience in Python and can deliver a clean, well-structured Python service. Choosing either FastAPI or Flask as per your preference, I'll ensure an endpoint that seamlessly receives DOCX uploads and applies all the necessary formatting rules accurately. To extract the DOCX content and apply formatting rules such as trim size, margins, paragraph spacing, header/footers (as appropriate for KDP paperback), I'm well-versed in leveraging popular libraries like python-docx or docx-compose among others. My thorough understanding of backend logic and strong error-handling skills will result in a highly reliable solution that provides properly formatted DOCXs, ready for publishing without any KDP warnings. Additionally, with my proficiency in Django and FastAPI alongside Python 3.10+ compatibility, I can guarantee that your code will be modular, efficient, and easy-to-maintain; ready for any follow-up work you might want. To provide a smooth experience for you and your team even after delivery I'll ensure concise README documentation for local setup/testing. Partner with me, let's ensure your manuscript formatting is handled with utmost perfection!
$20 CAD in 40 days
3.8
3.8

I can deliver a robust Python backend for your KDP formatting tool, mirroring the efficient document processing capabilities seen in similar automated publishing workflows. My experience with libraries like `python-docx` allows for precise manipulation of document elements. My approach will involve building a FastAPI application with a dedicated `/format-docx` endpoint. Upon receiving the DOCX file, `python-docx` will be used to read the content. I'll then programmatically set the page size and margins according to KDP specifications, and apply consistent paragraph styling. The formatted document will be returned as a streamable file. Could you clarify the exact KDP specifications for trim size and margins you intend to implement? I'm also curious about any specific heading styles beyond basic paragraph spacing that might be required. Let's connect to discuss how I can quickly implement this for you.
$25 CAD in 7 days
3.3
3.3

Hi there, The hard part is ensuring the DOCX formatting meets KDP's strict requirements without introducing errors. It’s crucial to get the page size, margins, and style rules right from the start, as even minor issues can lead to rejections during the upload process. I propose building a FastAPI service that exposes a single upload endpoint. This will handle the DOCX upload, extract the content, apply the necessary formatting rules, and return the corrected file. Using the python-docx library seems ideal for this task due to its ease of use and robust features for manipulating DOCX files. Here’s a simple phased plan: 1. Set up the FastAPI structure with the upload route. 2. Implement the formatting logic based on KDP specifications. 3. Test the output against KDP’s previewer to ensure compliance. To keep the process smooth, I’ll ensure that the code is clear, well-commented, and includes a concise README for setup and testing. If you have specific formatting rules or additional requirements in mind, let me know. Looking forward to discussing the details in chat.
$15 CAD in 40 days
3.3
3.3

Hello, I am available now. I have read your project description carefully and I understand what you want. 300% Confidence!!! I have 7+ years of experience in Python, Django, FastAPI. I have completed similar projects. Please contact me. Best regards, Steven
$20 CAD in 40 days
2.9
2.9

Hi! My name is Sakshi and I'm here to offer you my services as a skilled applicant with over a decade of experience working on Freelancer.com. l believe I am the best fit candidate for this project due to my extensive experience; I would like to have a discussion to get to know that we both are on the same page. Once the scope will be locked, I will start working on it right away.
$15 CAD in 40 days
2.5
2.5

Hey there! I’m beyond excited to take this on! I recently wrapped up a similar project with good results. Drawing from my experience in Python, Django, Software Architecture, LaTeX, Backend Development, Flask, API Development, FastAPI, I’m ready to dive into your project. Please come over chat and discuss your requirement in a detailed way. Best, Vishal Maharaj
$25 CAD in 40 days
2.6
2.6

Hi. I can build a clean FastAPI backend that takes DOCX uploads, applies full KDP formatting using python-docx, and returns a ready-to-use file. I’ll keep the code modular, well-documented, and easy to run with clear setup and test steps. Ready to start and extend this with more endpoints later.
$20 CAD in 40 days
2.4
2.4

With extensive experience in backend development and a deep understanding of Python, I'm confident that I'm the right fit for your KDP Manuscript Formatter project. I have successfully delivered numerous projects involving handling and manipulating various file types, which includes the kind of DOCX formatting and processing you're seeking. My expertise with frameworks like FastAPI and Flask will ensure a clean, well-structured Python service for your application. I am also comfortable using python-docx and docx-compose libraries, both known for their reliability in handling DOCX files adeptly. This proficiency will help me produce a solution that extracts the content from your manuscript file, applies formatting rules according to KDP's requirements, and returns the edited file all within the same efficient API call. You can trust my ability to deliver code that is not only compatible with Python 3.10+ but also highly modular for potential future enhancements to preview and export functionalities you foresee. Additionally, as an AI/ML specialist, my work is known for its robustness and scalability—traits that I am confident will prove invaluable as your requirements evolve.
$15 CAD in 40 days
2.6
2.6

I checked your requirement for a Python backend service that takes a DOCX manuscript and converts it into a Kindle Direct Publishing (KDP)-ready formatted file with correct page size, margins, and basic styling rules via an API endpoint. I can handle this by building a lightweight FastAPI (Python 3.10+) service with a single upload endpoint that receives the DOCX file, processes it using python-docx, applies KDP-compatible formatting (page size, margins, paragraph spacing, heading cleanup, and basic header/footer adjustments), and returns a reformatted DOCX ready for KDP upload. The formatting logic will be modular so it can easily be extended later for preview or export features. I recommend python-docx as it provides stable control over document structure and styles without heavy dependencies, making it ideal for server-side DOCX processing. The API will include proper error handling for invalid or corrupted files and return the processed DOCX as a downloadable response. A simple README will be included with setup steps (virtualenv, requirements, run instructions) and a sample cURL request for testing. Before we proceed, I have a quick question: Do you want support for only standard KDP defaults, or should the system allow configurable trim-size presets? Best Regards, Usama F
$20 CAD in 40 days
2.4
2.4

Greetings, It looks like you're looking to create a web-based tool that streamlines the process of formatting DOCX manuscripts for Kindle Direct Publishing. I can help you build a clean Python backend using FastAPI or Flask that will efficiently handle the file uploads and apply the necessary formatting rules to ensure compatibility with KDP standards. I plan to extract the content from the uploaded DOCX, adjust the page sizes, margins, and spacing, and then reconstruct the document to meet KDP requirements. With experience in backend development and a good grasp of Python libraries like python-docx, I'm confident in creating a solid API that will return a well-formatted file ready for the next step. I prioritize clear, modular coding, so you'll have a maintainable foundation for any future enhancements. I’m excited about the potential for follow-up work as the project evolves.
$20 CAD in 7 days
2.4
2.4

What's the best approach to ensure the Python KDP Manuscript Formatter seamlessly meets KDP standards without margin or layout issues? Hey, I understand the need for a robust Python service to streamline the formatting process for KDP manuscripts. With experience in developing efficient backend solutions, I can deliver a clean, structured FastAPI or Flask service that precisely handles DOCX uploads and applies the necessary formatting rules for KDP compatibility. - Proficient in Python 3.10+ - Skilled in utilizing python-docx for document manipulation - Experienced in error handling and efficient code structuring My approach involves creating a streamlined API endpoint that seamlessly processes DOCX files, applies the required formatting adjustments, and returns the formatted document promptly. I will ensure clear comments and a concise README for easy setup and usage. Thanks.
$20 CAD in 40 days
1.8
1.8

Hi there! I understand you need a reliable backend that can correctly format DOCX files for Kindle Direct Publishing without layout or margin issues. Right now your main challenge is ensuring KDP-compliant formatting so files pass preview without errors. I have strong experience in Python backend development, especially with FastAPI and Flask for file processing APIs. I have worked on document automation tasks using python-docx and similar libraries for structured content handling. I also have experience in building clean REST APIs that handle uploads, processing, and file returns efficiently. My approach will be to build a modular FastAPI service with a single upload endpoint. I will carefully parse the DOCX using python-docx and apply KDP-required page size, margins, and paragraph rules. The system will be structured so formatting rules are easy to adjust later. Proper error handling and validation will be included to ensure stable file processing and clean output delivery. check our work https://www.freelancer.com/u/ayesha86664 Do you want the formatting rules to strictly follow standard KDP paperback defaults or custom trim sizes as well? Let me know if you’re interested & we can discuss it. Best Regards Ayesha You’re now using our basic model To access more intelligence, create an account or log in. Log in Sign up for free
$16 CAD in 40 days
2.0
2.0

Hey, I see the critical requirement here is ensuring the uploaded DOCX file is correctly formatted for Kindle Direct Publishing without any issues. In building the Python backend for your KDP Manuscript Formatter, I plan to use FastAPI to create a clean and structured service that handles the DOCX upload and formatting process seamlessly. By utilizing python-docx, I will extract the content, apply the necessary formatting rules, and reconstruct the document to meet KDP's requirements. Strengths: - Proficient in Python backend development - Experienced in using python-docx for document manipulation - Skilled in error handling and API development For a micro-solution, I propose implementing thorough testing to guarantee the re-formatted DOCX meets KDP's standards without margin or layout warnings. Looking forward to delivering a backend solution that aligns with your project goals and sets the foundation for future enhancements. Best,
$20 CAD in 40 days
1.7
1.7

Hello, DOCX-to-KDP formatting tools usually fail when they treat formatting as simple style replacement instead of rebuilding document structure (sections, paragraph styles, and page geometry), which leads to margin errors in Kindle Previewer. I will build a clean FastAPI service that parses the DOCX, normalizes structure, applies KDP-compliant page settings (trim size, margins, spacing, headers/footers), and reconstructs a validated output file ready for Kindle upload with robust error handling and modular formatting logic. Experience building Python document-processing APIs, FastAPI services, and automated file transformation pipelines using python-docx and structured backend architectures. 1. What KDP trim size(s) do you want to support initially (e.g., 6x9, 5x8), and should the API allow dynamic selection per upload? 2. Should the formatting logic preserve existing author styling (bold/italics/headings), or enforce a strict unified template across all manuscripts? 3. Do you want the system to validate against KDP preview rules (pre-check warnings), or only output the formatted DOCX without simulation? Best regards, Fahad
$20 CAD in 40 days
1.8
1.8

Wow! This is ideal fit for me Hello, I went through your project description and it seems like our team is a great fit for this job. I'm familiar with this kind of task and have many years of experience on Python, Django, Software Architecture, LaTeX, Backend Development, Flask, API Development, FastAPI Lets connect in chat so that We discuss further. Thank You
$25 CAD in 40 days
1.2
1.2

Hope, Canada
Payment method verified
Member since Jun 8, 2026
$750-1500 CAD
$25-50 USD / hour
$15-25 USD / hour
$25-50 USD / hour
$10-30 USD
$250-750 USD
$5000-10000 USD
$240-2000 HKD
₹1500-12500 INR
₹600-1500 INR
$25-50 USD / hour
$10-30 USD
$250-750 USD
₹1500-12500 INR
$750-1500 USD
$750-1500 USD
₹250000-500000 INR
€250-750 EUR
$15-25 CAD / hour
₹12500-37500 INR
$250-750 USD